Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Invoking the Windows command line for selected directories

by ikegami (Patriarch)
on Nov 27, 2006 at 18:43 UTC ( [id://586310]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @echo off
    
    ...
    echo    If no argument is supplied, displays the current dir.
    
    :Exit
    
  2. or download this
    mycd d:\
    
  3. or download this
    mycd "C:\Program Files"
    
  4. or download this
    # Start a shell in d:\
    cmd /k mycd d:\
    
  5. or download this
    # Start a command in d:\
    cmd /c mycd d:\ & mycommand args
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found