Welcome guest, is this your first visit? Create Account now to join.
  • Login:

Welcome to the OldVersion.com Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Results 1 to 2 of 2
  1. #1

    Default Command line for Symantec Ghost to load available Ghost image in BAT file

    I working on project to make recovery DVDs using Ghost Image. And i want to use the command line for Multiple ghost images (which ever is available on DVD); example, if i am imaging for D600 and the image name is D600.GHO and on the other hand if i want imaging for nc6000 and the image name is nc6000.GHO, i don't want to change the name of the file every time in bat file and burn the DVD everytime. one command line which will work as whatever Ghost image is available it will load and start imagingon Hard disk.

    The command line i am using in BAT file is:
    R:\ghost -clone,mode=load,src=R:\NC6000.GHO,dst=1, -afile=C:\ghststat.txt -sure -FX

    If someone could help me to use right syntax to use multiple images.



  2. #2
    Join Date
    Dec 2006


    Hello there ^^

    Which command interpreter are you going to use ?

    If it's compatible with Windows XP's cmd, you may try that :

    FOR /F "usebackq" %%a in (`dir /b R:\*.gho`) DO R:\ghost -clone,mode=load,src=R:\%%a,dst=1, -afile=C:\ghststat.txt -sure -FX

    Assuming there is only one .GHO file in your R:\ directory.
    Also, I don't own ghost so I can't check much about it.
    Last edited by Constance; 12-26-2010 at 03:08 PM.


Similar Threads

  1. Replies: 0
    Last Post: 10-23-2010, 11:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts