Using SS I think there is a bug when using Batch files:
1. I have a Batch named "copyform.bat" in the path "U:\development"
I use this batch to copy a binary file from the curren path to other drive and path and change the name in the copy:
@echo Current Path="%cd%"
if '%1'=='' goto NoParameter
copy "%1" "O:\Smartflex\xred.fmx"
goto End
@echo Parameter: the filename to copy
goto End
:End
pause
2. When I double-ckick this batch from SS, the current path is "U:\Development"
3. When I select a file, ie: "xred_v101.fmx" in the path "U:\Development" and drag and drop over the batch, then the current path is "C:\WINNT\system32" but the file to copy is in "U:\Development" and the batch is in "U:\Development".
Bye
Alvalongo
from Bogota, Colombia (South America)
Drag and drop with batch files
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact: