VideoHelp Forum




+ Reply to Thread
Results 1 to 17 of 17
  1. Anurag
    Guest
    Can anybody provide me
    any help or web link..
    for making Batch files for:
    1. disk check with options (chkdsk)
    2. copying data from one location to another.

    Thnkx.
    Quote Quote  
  2. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    You might want to explain what you want to do better. If you want to do a unattended backup of data files from one drive to another, maybe a backup program like Acronis True Image or similar? Or you may be able to write a script that runs off the OS scheduler to do similar. More information would help.

    And this would be better answered in our Computer Forum. Moving you.
    Quote Quote  
  3. Anurag
    Guest
    Thnkx..
    OK here's the situation
    one folder having 5 sub folders in D:
    Another folder having 5 sub folders in E:

    Now I'll have to do it one by one
    i.e. from one sub folder to another sub folder

    So can I make a batch file, so that
    moving data from D: to E:
    can be done simultaneously.

    And about disk check,
    like I want to check all my 4 drives simultaneously
    with a single click on such a batch file.
    Quote Quote  
  4. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Open notepad and type in the folder destinations and save as run.bat,make sure you save as all files and not txt.
    eg:copy temp c:
    copy multi c:
    I think,therefore i am a hamster.
    Quote Quote  
  5. Greetings Supreme2k's Avatar
    Join Date
    Feb 2003
    Location
    Right Here, Right Now
    Search Comp PM
    in notepad, if you save as "run.bat", with the quotes, it will save as a literal. You can do it with any text document, such as "homepage.html' for a web page.
    Quote Quote  
  6. Anurag
    Guest
    plz anybody...give me a tutorial for this
    I haven't dun this before.

    Thnkx.
    Quote Quote  
  7. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    "Quality is cool, but don't forget... Content is King!"
    Quote Quote  
  8. The problem is, you have to tell windows to unmount the disk first. If this is you boot drive, you select yes, and it will add it to an AT command a next boot up.

    Or are you doing this on a nonboot drive or from a winxp boot disc?
    tgpo famous MAC commercial, You be the judge?
    Originally Posted by jagabo
    I use the FixEverythingThat'sWrongWithThisVideo() filter. Works perfectly every time.
    Quote Quote  
  9. Anurag
    Guest
    I'm using vista...
    I'm not able to scan the C: (windows drive)
    not even during boot.
    It says: cannot run "chkdsk" for RAW drives.

    Thnkx.
    Quote Quote  
  10. Anurag
    Guest
    Awesome tutorial...
    Thnkx "Soopafresh"


    Quote Quote  
  11. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Sounds like you have 2 totally different requirements.

    1st is Disk check, and that should be done on a regular basis and better done with a Boot/Repair Utility CD, so that all discs can be unmounted. This can easily be scripted.

    2nd is really Synchronized folders, which you could do with Windows itself. Just read the help info on synchronized folders (usually reserved for network-accessed drives, but you can do it with others). Or Google it. Beyond the OS, there are numerous apps that do file & folder synchronization and backup. Since synchronization is meant to be automatic (usually as a continuous background process), you don't really need to "script" it. Just pick the folders to be synced.

    Scott
    Quote Quote  
  12. You might want to skip old Command (DOS) commands altogether. The future is Powershell and scripting....Just us old birds hang on to batch files.

    In this case, you drive is showing up as raw Not formated in chkdsk.
    I would boot from your Vista disc and do it from there.

    I would venture to guess your computer has 2 partitions, 1st being a OEM repair partition, 2nd being your visible OS partition
    tgpo famous MAC commercial, You be the judge?
    Originally Posted by jagabo
    I use the FixEverythingThat'sWrongWithThisVideo() filter. Works perfectly every time.
    Quote Quote  
  13. Open up a CLI and type "XCOPY /?" and "CHKDSK /?" that will give you a list of switches for each command.

    I use Xcopy all the time for copying directory trees, even incremental backups of folders on one computer to folders on another computer across the network.
    Code:
    xcopy /s /e /d /y /c \\number3\music \\number2\music >update.txt
    CHKDSK has a switch (/X) that will unmount non-boot drives so you don't have to reboot.
    Quote Quote  
  14. Anurag
    Guest
    I need to transfer data from one drive to another
    data in 5 subfolders in e:
    are to be copied to
    5 another subfolders in f:

    So, I need to perform copy/paste
    one by one i.e. for each subfolder

    Now I want to know whether this can be performed
    via a single click on a batch file.

    Thnkx
    Quote Quote  
  15. Anurag
    Guest
    And I'm also getting problem in scanning C:

    As it in use by the operating system
    so Its suggestes to check C:
    at booting.

    When I click YES

    Then at the time of booting
    error occurs that:
    CHKDSK is not for RAW drives

    Can anybody give me a solution to this problem.
    Thnkx
    Quote Quote  
  16. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    http://www.z-a-recovery.com/art-raw-filesystem.htm

    And several other posts suggest that the drive is either corrupt or failing, and needs more than Chkdsk can provide
    Read my blog here.
    Quote Quote  
  17. Anurag
    Guest
    Thnkx.
    ur great!!!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!