Q #1: I've got a script where I want to
add network printers. It appears
that I can't get the backslash
"\" to be input. For example
I want
to type in::
\\servername\.sys.vol1.servername
The output I get is:
\servername.sys.vol1.servername
---------------------------------------------------------------------
A #1: In order to get a backslash
"\", you must use a backslash in front,
For two back slashes in your script,
use four. For one backslash use
two. Using your example, you would
need to enter the line as follows;
\\\\servername\\.sys.vol1.servername
-----------------------------------------------------------------------------
Q #2: In relation to starting the Add
Printer wizard under Windows 95. The
command line is -
rundll32.exe
sysdm.cpl,InstallDevice_Rundll Printer
but AutoIt thinks that anything
after the ',' is the working
directory. Anybody know a work
around for this one?
---------------------------------------------------------------------
A #1: Try putting a backslash (\) in front
of the comma.
-----------------------------------------------------------------------------
Q #3: Why doesn't:
run, "net" "use r:
\\hotfurn1\bin"
work?
---------------------------------------------------------------------
A #1: Try using
Run, net use r: \\\\hotfurn1\\bin
instead. What's been overlooked is that the backslash is an escape
character in AutoIt, so you have to
put it twice.