Radified Community Forums
http://radified.com/cgi-bin/yabb2/YaBB.pl
Rad Community Technical Discussion Boards (Computer Hardware + PC Software) >> Norton Ghost 2003,  Ghost v8.x + Ghost Solution Suite (GSS) Discussion Board >> Cannot create subfolder on NTFS partition in batch
http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1138122238

Message started by TheSeven on Jan 24th, 2006 at 1:03pm

Title: Cannot create subfolder on NTFS partition in batch
Post by TheSeven on Jan 24th, 2006 at 1:03pm
Using Ghost 2003, when I try to create an image on an NTFS partition, in a subfolder which does not yet exist, I get error:

Abort:  662, Cannot create image file

I can create images in the same NTFS partition's *root* folder, and I can also create images in folders that don't yet exist on FAT32 partitions (Ghost creates the folder for me).  

But, does anyone know, is it normally possible to create an image on an *NTFS* partition subfolder that does not yet exist?  (It is easy to get Ghost to make a new subfolder on an NTFS partition when running *interactively*, so in principle, Ghost *should* be able to do what I want *in batch*...)

For example, I am trying the following from a batch file, where source partition 1:4 is FAT32 and destination partition 1:2 is NTFS:

ghost.exe
-batch
-clone,mode=pcreate,src=1:4,dst=1:2\GstImage\G060124A\IM60124A.GHO
-afile=1:2\GstImage\G060124A\IM60124A.ER1
-skip=@SKIPFILE.TXT
-auto
-split=1490
-z6

Title: Re: Cannot create subfolder on NTFS partition in b
Post by Rad on Jan 24th, 2006 at 9:07pm
hey.

always create my images on the root. never created folder on the fly.

peripheral questions:

* why not just create the folder(s) ahead of time?

* why are you splitting at 1490?

Title: Re: Cannot create subfolder on NTFS partition in b
Post by TheSeven on Jan 27th, 2006 at 9:57pm

Quote:
why not just create the folder(s) ahead of time?

For bookkeeping reasons.  To keep images made on different dates in different subfolders, my batch file tries to create a subfolder with a name created from today's date.  (I admit this is esoteric, and I could in principle do it in Windows before or after running Ghost in DOS, but it would be cleaner to do it in DOS.)  But I don't know how to write to an NTFS partition from DOS98SE, so my batch file can't do it.  Ghost.exe is able to do this, when run interactively, but doesn't seem to want to create the folder when run in batch.


Quote:
why are you splitting at 1490?

I split at 1490 so I can put 3 files on a DVD.  I seem to remember Ghost won't make image files larger than about 2 GB.

Radified Community Forums » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.