Jump to content

Recommended Posts

Posted (edited)

Hi Experts,

I hit the wall and this time trying to run notepad++.exe from a command prompt.

This is a sample excersice as actually wanted to run a big line of command for a third party. Any help is appreciated.

#include <File.au3>
$CR = 'notepad++.exe'
$command = " C:\Program Files\Notepad++\" & $CR
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $command = ' & $command & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console ;
Run($command); THIS DOES NOT SEEM TO WORK, HOWEVER WHEN I COPY THE OUTPUT IN "start" "run" it works not via Run command HELP HERE
Edited by anandnz

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
  • Recently Browsing   0 members

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