TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech World > Technical Discussions

Reply
 
Thread Tools Display Modes
Old 13-06-2008, 02:03 AM   #11
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 22
Posts: 4,677
Thanks: 12
Thanked 356 Times in 327 Posts
Rep Power: 65 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future
Send a message via Yahoo to bakuryu
Re: hide drive

there is no such command, unless you use a script that does the changes. The script will either have to disable it from device manager or from registry.
__________________
Please don't click here
bakuryu is offline   Reply With Quote
Old 10-07-2008, 01:32 AM   #12
Junior Member (25+)
 
Risum's Avatar
 
Join Date: Dec 2006
Location: kathmandu
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0 Risum is an unknown quantity at this point
Re: hide drive

it was posted earlier in the stuffs but i cant get it.
don't you know by removing the drive letter
Risum is offline   Reply With Quote
Old 10-07-2008, 02:13 PM   #13
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 22
Posts: 4,677
Thanks: 12
Thanked 356 Times in 327 Posts
Rep Power: 65 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future
Send a message via Yahoo to bakuryu
Re: hide drive

You can hide them from My Computer as I posted before. You can even use Partition Managers to hide partitions, but there's no single command utility in Windows to do that.
bakuryu is offline   Reply With Quote
Old 11-07-2008, 09:00 AM   #14
Advanced Member (250+)
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Under your bed...
Posts: 302
Thanks: 15
Thanked 8 Times in 8 Posts
Rep Power: 4 1mAn3rd will become famous soon enough
Re: hide drive

Hmm, via My Computer? Never heard that way. Risum, as baku said, there is no way to do it directly from the command line. You need to have a pre-written program for the easiest way. If there is possibly a good command line code, that I could whip up a Ruby program and compile an EXE. First, it would ask the drive letter, then it does the rest. But I'm sure that there is no command line way of doing this. The registry would be the best way, although I've never heard this My Computer way. I'm sure baku could make you a .reg file that will insert the commands into the registry.
__________________

WOO Never EVER get a site from www.siteground.com! They're support sucks
1mAn3rd is offline   Reply With Quote
Old 11-07-2008, 01:25 PM   #15
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 22
Posts: 4,677
Thanks: 12
Thanked 356 Times in 327 Posts
Rep Power: 65 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future
Send a message via Yahoo to bakuryu
Re: hide drive

Quote:
You can hide them from My Computer
What I meant there was the drives hidden by the registry patch will not be visible in My Computer (drives are hidden from My Computer) but can be accessed from command prompt.
bakuryu is offline   Reply With Quote
Old 12-07-2008, 01:53 AM   #16
Advanced Member (250+)
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Under your bed...
Posts: 302
Thanks: 15
Thanked 8 Times in 8 Posts
Rep Power: 4 1mAn3rd will become famous soon enough
Re: hide drive

Oooo, I thought you meant hide via My computer Silly me
1mAn3rd is offline   Reply With Quote
Old 14-07-2008, 12:57 AM   #17
Junior Member (25+)
 
Risum's Avatar
 
Join Date: Dec 2006
Location: kathmandu
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0 Risum is an unknown quantity at this point
Re: hide drive

no guys the drive can be hide from cmd also by removing the drive letter of drive d usin remove letter d.
but i forget the code how to list the drives.
if you know how to list the drives thru cmd post it.
Risum is offline   Reply With Quote
Old 14-07-2008, 01:36 AM   #18
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 22
Posts: 4,677
Thanks: 12
Thanked 356 Times in 327 Posts
Rep Power: 65 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future
Send a message via Yahoo to bakuryu
Re: hide drive

Quote:
no guys the drive can be hide from cmd also by removing the drive letter of drive d usin remove letter d.
but i forget the code how to list the drives.
if you know how to list the drives thru cmd post it.
You can use VBScript for that. See the sample code here : http://www.microsoft.com/technet/scr...5/hey0122.mspx

Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colDisks = objWMIService.ExecQuery("Select * from Win32_LogicalDisk")

For Each objDisk in colDisks
    Wscript.Echo objDisk.DeviceID
Next

However there is still no built in utility to remove drive letters.
bakuryu is offline   Reply With Quote
Reply
Tags:


Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 07:35 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional