Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBS: asks for a drive letter from the user

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,66470
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBS: asks for a drive letter from the user
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBS: asks for a drive letter from the user - 11/16/2008 12:22:48 AM   
  2sw33t

 

Posts: 14
Score: 0
Joined: 10/23/2008
Status: offline
How  to write a script,

- Ask for a drive letter from the user
- Displays the type of drive it this is
- Displays its state (ready or not ready)
- Displays its serial number
- if the user enters no drive letter, or presses Esc or Cancel, the script should exit with an appropriate message.

must have also br written in pseudo code
 
 
Post #: 1
 
 RE: VBS: asks for a drive letter from the user - 11/16/2008 4:33:05 AM   
  ebgreen


Posts: 5251
Score: 31
Joined: 7/12/2005
Status: offline
Generally speaking, we do not write code for people. We help them write their own code.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to 2sw33t)
 
 
Post #: 2
 
 RE: VBS: asks for a drive letter from the user - 11/16/2008 9:27:12 AM   
  ehvbs

 

Posts: 2224
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi 2sw33t,

use the VBScript Docs to read about

   InputBox function

    Drive object and its properties

then use these keywords to search the forum.

Good luck!

ehvbs

  

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBS: asks for a drive letter from the user Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts