Re: Using UNC paths from a windows command with bash commands

2007-03-06 Thread Larry Hall (Cygwin)
Chris Kimpton wrote: Hi, I am writing a couple of scripts to check users in Active Directory their home/profile directories. Using dsget -hmdir, gives me their home directory, in this format var=\\server\home$\username Using this in a test, like if [ -d $var ] then fails, as it escapes the stu

Using UNC paths from a windows command with bash commands

2007-03-06 Thread Chris Kimpton
Hi, I am writing a couple of scripts to check users in Active Directory their home/profile directories. Using dsget -hmdir, gives me their home directory, in this format var=\\server\home$\username Using this in a test, like if [ -d $var ] then fails, as it escapes the stuff prefixed by slash.