There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers dvd error excel external hard drive firefox format freezes freezing hard drive hardware hijackthis internet internet explorer ipod itunes laptop malware mouse network networking outlook 2007 power printer problem ram router screen slow sound trojan upgrade usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Help with simple VBScript.


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
TomMiller's Avatar
Member with 48 posts.
 
Join Date: Nov 2004
Experience: Advanced
17-Mar-2005, 09:06 AM #1
Help with simple VBScript.
Does anyone know a vbscript that will open the explore window for a cd drive?
draceplace's Avatar
Computer Specs
Senior Member with 867 posts.
 
Join Date: Jun 2001
Location: Conway, Arkansas
Experience: MCSE for what its worth!
22-Mar-2005, 03:31 PM #2
a .bat file with this line in will do what you want....

c:\windows\explorer.exe d:

With the 'd' as whatever your cd drive is...
TomMiller's Avatar
Member with 48 posts.
 
Join Date: Nov 2004
Experience: Advanced
23-Mar-2005, 04:59 AM #3
Quote:
Originally Posted by draceplace
a .bat file with this line in will do what you want....

c:\windows\explorer.exe d:

With the 'd' as whatever your cd drive is...
Thanks a lot for that matey,
helped a lot.

Tom.
Doobs's Avatar
Junior Member with 4 posts.
 
Join Date: Mar 2005
Experience: Advanced
28-Mar-2005, 06:12 AM #4
Code:
Shell "C:\windows\explorer.exe d:"
Dunno if it will work...
Fredledingue's Avatar
Senior Member with 404 posts.
 
Join Date: Aug 2003
Location: Klaipéda Lithuania
30-Mar-2005, 04:42 PM #5
The vbs code is:

set oShell = CreateObject("Shell.Application")
oShell.Open "d:\"
RedAxl's Avatar
Member with 47 posts.
 
Join Date: Nov 2004
Experience: OpenROAD Programmer
31-Mar-2005, 12:01 AM #6
Does Explorer.Exe has return value?
How can Tom assign its return value to a variable?
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:00 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.