Setting up a virtual disk - Was: Re: [AccessD] Setting up a r am disk

Heenan, Lambert Lambert.Heenan at AIG.com
Fri Apr 25 15:39:28 CDT 2003


Shamil,

SUBST is all you need - it's been part of MS-DOS since version 2.0.

Create a folder on any existing drive.

Issue the command
   SUBST X: Y:\Folder

where X is the drive letter you want to create and Y:\Folder points to the
folder you will use as your virtual drive.

If will use whatever file system exists on the drive hosting the folder -
you cannot format the virtual drive.

To get rid of the virtual drive (does NOT delete any files) use
   SUBST X: /D

Lambert


> -----Original Message-----
> From:	Shamil Salakhetdinov [SMTP:shamil at smsconsulting.spb.ru]
> Sent:	Friday, April 25, 2003 4:08 PM
> To:	accessd at databaseadvisors.com
> Subject:	OT: Setting up a virtual disk - Was: Re: [AccessD] Setting
> up a ram disk
> 
> It's Friday - and I wanted to have a virtual disk - something like:
> 
> -  create a file;
> - assign a logical drive letter to it;
> - use this virtual(/logical) drive as if it were a real disk i.e. format
> it,
> create a file system (FAT or NTFS) on it, directory structure, files etc.
> 
> RAMDisk from Q257405 isn't good choice for my wish because I wanted to
> have
> as big as possible virtual disk - limited to the size of the drive on
> which
> its file will be located...
> 
> I hope there is somewhere a driver for such a virtual disk for
> Windows2000,
> anybody?
> 
> Am I missing something obvious?
> 
> TIA for any info,
> Shamil
> 
> ----- Original Message -----
> From: "Bobby Heid" <bheid at appdevgrp.com>
> To: <accessd at databaseadvisors.com>
> Sent: Friday, April 25, 2003 6:43 PM
> Subject: RE: [AccessD] Setting up a ram disk
> 
> 
> > Also, check out MS KB article Q257405 for creating one under windows
> 2000.
> >
> > Bobby
> >
> > -----Original Message-----
> > From: accessd-bounces at databaseadvisors.com
> > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby
> > Sent: Friday, April 25, 2003 10:15 AM
> > To: AccessD
> > Subject: [AccessD] Setting up a ram disk
> >
> >
> > Does anyone know how to set up a ram disk in a batch file and run it
> when
> > windows starts?  Help to do that?
> >
> > John W. Colby
> > Colby Consulting
> > www.ColbyConsulting.com
> > -----------------------------------------------------
> 
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


More information about the AccessD mailing list