TechSpot

Is it possible to mount a folder as a drive in win XP?

By Spike
Feb 10, 2004
  1. I was just thinking to myself, (dangerous at the best of times), and started wondering about file encryption.

    Is it possible in XP to create a folder and mount it as a drive on the same machine without a network?

    If so, is it also possible to drag and drob files into that mounted folder? That is to say, the drive gets bigger the more you put into it?

    Just a thought I'd like to have an answer to. I may start fiddling with the idea later.
     
  2. Didou

    Didou Bowtie extraordinair! Posts: 4,274

    subst <drive-letter>: <source-folder> should work.
     
  3. Spike

    Spike TS Evangelist Topic Starter Posts: 2,168

    Got it. Thankyou for telling me the command :)

    For anybody not understanding syntax...

    subst e: c:imagefdr

    ..assigns the folder "c:\imagefdr" as a virtual drive, with a letter assignment "e:\"

    Is it possible to do it with a file? Lets find out. :)
     
  4. Spike

    Spike TS Evangelist Topic Starter Posts: 2,168

    well, I don't know if it is possible to use a file as a drive, but I don't think it can be done that way. I just tried TXT, and an empty zip file, and neither work.

    Two more thoughts, the second of which is completely unknown to me.

    Is there any easy way to create a virtual cd drive?

    Is it possible to run custom encryption routines on a virtual drive or folder?
     
  5. LNCPapa

    LNCPapa TS Special Forces Posts: 4,210   +424

  6. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    There is a driver for NT to use files as (hard)drives and even mount raw floppy images.
     
  7. me(who else?)

    me(who else?) TS Rookie Posts: 387

    wierd idea

    is it possible to use a virtual drive for a different filesystem? I don't think so, but actually having Linux in the middle of my NTFS drive would be wicked. What about even just Windows 98 or 2000 (or some other windows OS) even. I didn't even know this was possible, thanks!:grinthumb
     
  8. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    You can format a virtual drive with anything you want provided you have the software. You can't really install an OS on a virtual drive unless you use an emulator. E.g you'd need a Mac emulator to run Mac OS off a virtual drive sitting on your NTFS partition. Or Bochs to install Win98 in Linux.
     
  9. me(who else?)

    me(who else?) TS Rookie Posts: 387

    is there any emulator to install Fedora Core or Red Hat 9 (or any other Linux)? I've tried cygwin, but it doesn't have any graphical interfaces like XWindows.
     
  10. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

  11. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    And Cygwin comes with X..
     
  12. me(who else?)

    me(who else?) TS Rookie Posts: 387

    I'm trying Bochs, but I have a big question. I don't want to erase all the data on my C drive, but Linux says it can't read deva. Will it only delete the data on the virtual drive, or will it actually partition my hard-drive?
     
  13. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Are you running Linux in Bochs?

    Anything you do in the Bochs window happens in a sandbox and cannot damage your computer. The only exception is the floppy drive.
     
  14. me(who else?)

    me(who else?) TS Rookie Posts: 387

    OK, thanks, I understand now. This seems pretty cool, except for the speed :dead: .
     
  15. me(who else?)

    me(who else?) TS Rookie Posts: 387

    FYI:

    I've started a new thread about Bochs in the Linux section of the forum because I have quite a few questions.
     
  16. acidosmosis

    acidosmosis TechSpot Chancellor Posts: 1,350

  17. Redbeard

    Redbeard TS Rookie

    Is there an unmount command to use with subst.exe?
     
  18. PanicX

    PanicX TechSpot Ambassador Posts: 669

    /d option

    type "subst /?" for more info
     
  19. Redbeard

    Redbeard TS Rookie

    Thanks PanicX. Works fantastic. I just put a shortcut into my SendTo folder to subst and I can mount a folder perfectly. Too bad there doesn't seem to be an option to name the virtual drive, but since I only use it temporarily it doesn't really matter.
     
  20. Samstoned

    Samstoned TechSpot Paladin Posts: 1,018

    I use nero on XP has avirtual drive command for up to 2 drives
    I use to test boot up files and dvd before burning
     
  21. Vigilante

    Vigilante TechSpot Paladin Posts: 1,666

    I use both GamesXCopy and Alcohol 52% for CD-ROM emulators. Though GXC is not available anymore. Both can create images from CDs as well. And Daemon Tools is great also, unless you need fancy techniques for retail encrypted CDs which use bad sector mapping and other techniques. Or if a plain ISO of a disc doesn't work.

    We used VMWare at college for running the Windows Server 2003 on top of XP, it worked perfect. No partitioning needed, you just tell the emulator how big of a "hard drive" you want, and it just becomes a big file on your real hard drive. It was pretty cool, we created all kinds of virtual hard drives for use in the virtual 2003 for making virtual RAID setups and so forth. All very real :)
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...