rem and subst from MS-DOS

Discussion in 'Software' started by skyler43@123, May 6, 2012.

  1. skyler43@123

    skyler43@123 Private E-2

    hello everyone::D i need some ideas for something.
    i want to simulate subst and rem commands from MS-DOS, into c/c++ or php.
    i don't know where to start.

    for example i have the next code in notepad:

    Code:
    rem s, r, t, u, z
    
     subst s:  D:\Movies
     subst r:  D:\Music
     subst t:  D:\Games
     subst u:  D:\Pictures
     subst z:  D:\Backup
    
    it creates s, r, t, u, z partitions with the same size like D, but with the content from the files specified. And disappear after a restart.
    i saved him like developments drivers.bat.
    All this thing like folders/names/number of them/partition D, you know them from "outside".
    i want to make something which don't know this, just search them and then make the virtual partitions.
    i hope you understand what i want to do, and i'm sorry for my english:D
    some ideas please?
     
  2. Wyatt_Earp

    Wyatt_Earp MajorGeek


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds