ICE
TCP/IP Products => TCP-PRO => Topic started by: gmish on October 01, 2008, 11:10:46 am
-
I have to create a script in ftp-win with an LCD command that includes a space in the path. How do I do this?
Right now I have:
OPEN 192.168.132.10 root dx100
LCD "T:\edata\wal-mart\walmart as2\ansi\850\5010"
CD /appl/twins/edi/walmart
BINARY
PUT mail_in.srt mail_in.srt
QUIT
CLOSE
But the quotes don't seem to work on the LCD command. If I take them out it still doesn't work because of the space in the folder name "walmart as2". I can not change the directory name for reasons that are complicated to describe here, but how can I do the LCD command and leave the space in the path?
Thank you.
-
Try using 8+3 path names. do a:
dir /x
of an existing directory to see the 8+3 name. I get:
WALMAR~1
for
walmart as2
-
Yes, I had done that, but within DOS, when I do a dir/w or dir -x it shows the full name of the folder and not the 8+3 name.
Is there no way to have a space in a folder name and still have the folder in a path with an LCD command? Seems like a huge drawback with the scripting, no?
-
Yes, I had done that, but within DOS, when I do a dir/w or dir -x it shows the full name of the folder and not the 8+3 name.
Sorry it was dir /x NOT dir -x
I corrected the message above.
It works fine. I just tested it on windows 2k and xp.
Is there no way to have a space in a folder name and still have the folder in a path with an LCD command? Seems like a huge drawback with the scripting, no?
Sorry, ftpwin is not undergoing active development. It's meant to be replaced by FTP Pro (which unfortunately doesn't have scripting).