Jump to content

jht129

Active Members
  • Posts

    128
  • Joined

  • Last visited

Posts posted by jht129

  1. yessir im done with that, heres what i have so far:

    echo off
    
    echo This batch file stealing program will grab the files ending in .bat
    
    echo on the drives specified previously and copy them
    
    echo to a folder called "RMA X" on your desktop.
    
    pause
    
    %homedrive%
    
    cd "%homepath%Documents and SettingsAll Users"
    
    md "RMA X"
    
    cd "RMA X"
    
    xcopy A:*.bat /q /r /y
    
    xcopy B:*.bat /q /r /y
    
    xcopy C:*.bat /q /r /y
    
    xcopy D:*.bat /q /r /y

    Thats only the beginning part. I want to know how to change the directory to where it keeps the files to C:Documents and SettingsAll Users. How would I do this. Note where it says

    "%homedrive%

    cd "%homepath%Documents and SettingsAll Users"

    md "RMA X"

    cd "RMA X""

    I want it to change it to the directory mentioned above. Does anyone have any solutions?

  2. Oh man, thanks for the second suggestion. I really dont know that much coding, so could you please help me out *again* *sorry* a little bit here. How would I go about coding a batch to detect the presence of another flash drive and copy all .bat files from there? thanks! i appreciate it.

×
×
  • Create New...