Jump to content

Need cmd help


E1M1
 Share

Recommended Posts

It i start cmd manually from stat menu... I see.,.,.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\rain>

but if I use

run("cmd")
I see .,.,.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>

How to make script that stats CMD so that it shows @scriptdir instead of C:\

thanks

edited

Link to comment
Share on other sites

What is the path of the testscript you use and how are you running it?

Oh you opened my eyes, thanks :) my script was in c:\ for some reason I am used to store my scripts in my documents , I really don't know why I did expection for this script :)

I am running it with f5.

But still what makes CMD start in script directory? how cmd know it?

for me it looks you just cant tell cmd it's dir that easy.

thanks.

Edited by E1M1

edited

Link to comment
Share on other sites

  • Developers

Oh you opened my eyes, thanks :) my script was in c:\ for some reason I am used to store my scripts in my documents , I really don't know why I did expection for this script :)

I am running it with f5.

But still what makes CMD start in script directory? how cmd know it?

thanks.

Did you try the first posted script again for another directory?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

yes it worked :)

Ok, so next time please think a little longer before posting because you are now around here long enough to show a little more effort first.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...