Jump to content
Posted 16 March 2009 - 02:11 AM
Posted 17 March 2009 - 05:48 AM
Posted 17 March 2009 - 12:18 PM
copy %1\*.* c:\nickdocs\*.*1. If the name of the folder/directory you're dragging to the batch file does not contain any spaces (e.g., "ABC"), the command will expand to:
copy C:\ABC\*.* c:\nickdocs\*.*which is what you want.
copy "C:\ABC 123 XYZ"\*.* c:\nickdocs\*.*which does work. Evidently, in the process of dragging a folder name containing spaces to your batch file, the system automatically supplies the surrounding quotes if it detects that the folder name (argument to the batch file) contains any spaces.
Posted 17 March 2009 - 04:12 PM
Posted 17 March 2009 - 05:18 PM
0 members, 0 guests, 0 anonymous users