Return to Uncreativelabs.net front page Uncreative Labs
PC XT and AT forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

 Windows directory names made easier... View next topic
View previous topic
Post new topicReply to topic
Author Message
Puckdropper
Site Admin


Joined: 02 Oct 2004
Posts: 766
Location: Not in Chicago

PostPosted: Tue Oct 25, 2005 6:03 pm Reply with quoteBack to top

Did you know you can shorten the amount of typing you have to repeat just by doing a few things differently?

Mapping a network drive

Use more of the path to your files to map the drive to a letter. For example, if you use \\192.168.0.1\data\phpfiles\uncreativelabs\ map the whole thing to a drive letter:
Code:

net use x: \\192.168.0.1\store\phpfiles\uncreativelabs\


Rather than just \\192.168.0.1\store

Mapping a local directory

Remember the DOS SUBST command? Well, if not, it's because some DOS programs had problems with it. Windows XP still has the command, and we can use it to significantly shorten the typing we must do.

Code:

subst x: "c:\Documents and Settings\User Name\My Documents\phpfiles\uncreativelabs\"


Tab-completion

Type a few letters of the file or directory you want to access and press [TAB] Windows will attempt to "guess" the name you want to use. Press [TAB] again if Windows guessed wrong. Repeat until it's right.

_________________
>say "Hello sailor"
Nothing happens here.

>score
Your score is 202 (total of 350 points), in 866 moves.
This gives you the rank of Adventurer.
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Anonymous101



Joined: 18 Oct 2004
Posts: 54
Location: Nottingham, England

PostPosted: Tue Oct 25, 2005 10:44 pm Reply with quoteBack to top

I knew about the net use command (I've used it in batch files before for backups, etc), and driving mapping. But I never knew about subst; or more to the point, I never knew it was still in XP, or considered actually using it Razz
And tab auto completion, wow, I never knew XP had that (despite the fact i use it all the time in Linux Embarassed), so thanks Smile
View user's profileSend private message
Display posts from previous:      
Post new topicReply to topic
 Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001/3 phpBB Group :: FI Theme :: All times are GMT