Quick question as im a little rusty on remembering how to do this,
Im basically trying to copy a data file from a usb memory stick to a folder on a pc, i know the destination location will never change but the source location of the file may change that im copying from.
copy c:\test.bat c:\windows\test.bat
granted this would copy the file from the root to windows folder.
How do i do this from an unknown source or one that could change drive lettrers? such as a usb stick.
seem to remember %file% but i may be wrong? lol been a while
copy ?:\test.bat c:\windows\test.bat
the ? source part would change or is unknown
can i copy from local dir that the main batch file is in somehow?