Jump to content

Recommended Posts

Posted

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

Posted (edited)

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

  • Developers
Posted

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.
  :)

Posted

your're right I just didn't think about it before posting - sorry.

if you wan to know I was thinking about 20 minutes and then I googled about cmd and I was was like crazy...

edited

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
×
×
  • Create New...