Jump to content
Sign in to follow this  
tempman

Run trouble...

Recommended Posts

tempman

DOS:

C:\Documents and Settings\Administrator>explorer "C:\WINDOWS"

AutoIT:

Run(@ComSpec & " /c " & 'explorer.exe C:\WINDOWS',"",@SW_HIDE)

I want to add $var:

$var = 'C:\WINDOWS'
Run(@ComSpec & " /c " & 'explorer.exe' & $var,"",@SW_HIDE)

This don't work!

Help! :)

Share this post


Link to post
Share on other sites
water

This works (at least for me):

$Var = "C:\WINDOWS"
$R = Run(@ComSpec & " /c explorer.exe " & $Var,"",@SW_HIDE)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
tempman

OMG!!! :)

I find error, I just need to add one more space behind explorer.exe!!!

Before: 'explorer.exe'

After: 'explorer.exe '

Share this post


Link to post
Share on other sites
Manko

$var = 'C:\WINDOWS'
Run(@ComSpec & " /c " & 'explorer.exe' & $var,"",@SW_HIDE)

This don't work!

Help! :)

Edited by Manko

Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually...

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  

×