Jump to content
Sign in to follow this  
KenzoIT

Open a folder

Recommended Posts

KenzoIT

Hi all,

This is my code :

#include <Process.au3>

_Rundos("Start D:\LPI\OpenVZ") --> It work well.

But I write

_Rundos("Start C:\Documents and Settings\Kenzo.XPWINDOWS7\Desktop\ZABBIX")

to open Zabbix folder --> It doesn't work.

Please help me to fix a problem.

Thanks !

Share this post


Link to post
Share on other sites
MrMitchell

There are spaces in "Documents and settings", need to put quotes around it:

Old:

_Rundos("Start C:\Documents and Settings\Kenzo.XPWINDOWS7\Desktop\ZABBIX")

Try new way:

_Rundos('Start "C:\Documents and Settings\Kenzo.XPWINDOWS7\Desktop\ZABBIX" ')

Share this post


Link to post
Share on other sites
funkey

Or use Shellexecute.


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites
KenzoIT

Thanks for your support !

Share this post


Link to post
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
Sign in to follow this  

×