Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Page Index Toggle Pages: 1
Send Topic Print
Cannot create subfolder on NTFS partition in batch (Read 3575 times)
TheSeven
N00b
Offline



Posts: 9


Back to top
Cannot create subfolder on NTFS partition in batch
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
 
 
IP Logged
 

Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Cannot create subfolder on NTFS partition in b
Reply #1 - 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?
 
WWW  
IP Logged
 
TheSeven
N00b
Offline



Posts: 9


Back to top
Re: Cannot create subfolder on NTFS partition in b
Reply #2 - 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.
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print