Jump to content
Sign in to follow this  
Noobster24

Run(variable)

Recommended Posts

Noobster24

Hi,

Probably easy to answer, but i can't find the solution.

This won't work:

$a = 'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'

Run($a)

How can i get this to work?


Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites
Xenobiologist

Hi,

maybe

$a = 'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'
RunWait(@ComSpec & ' /c  start ' & $a, '', @SW_HIDE)

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
Jos

'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'

This is probably the weirdest directoryname I've very seen .......

For the none Dutch:

Beheerder=Administrator

Bureaublad= Desktop

poeppages=shitpages


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

Share this post


Link to post
Share on other sites
Noobster24

Hi,

maybe

$a = 'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'
RunWait(@ComSpec & ' /c  start ' & $a, '', @SW_HIDE)

Nope this error comes:

Posted Image

It's Dutch, it means something like:

Windows can't locate the file C:\Documents. Check if you correctly filled in filename and try again. Click, if you want to search a file, the search button.

Edited by Noobster24

Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites
Xenobiologist

OKay,

then:

$a = 'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'
RunWait(@ComSpec & ' /c start ' & '"' &$a &'"', '', @SW_HIDE)

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
Noobster24

This is probably the weirdest directoryname I've very seen .......

For the none Dutch:

Beheerder=Administrator

Bureaublad= Desktop

poeppages=shitpages

Got problems with the names of my dirs?


Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites
Noobster24

OKay,

then:

$a = 'C:\Documents and Settings\Beheerder\Bureaublad\Andreas\Custom Cracks\~ OSS ~\poeppages\Files\Downloads\file.zip'
RunWait(@ComSpec & ' /c start ' & '"' &$a &'"', '', @SW_HIDE)

So long,

Mega

Yes! Thank you, it works :)

Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

Share this post


Link to post
Share on other sites
Xenobiologist

Yes! Thank you, it works :)

:P The problem was the blank in your path. That is why you need to surround the parameter with ".

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
Noobster24

excuse me .... anything I said ?

Well you said:

This is probably the weirdest directoryname I've very seen .......

I think that's off topic :), so i asked:'Got problems with the names of my dirs?" It's easy to answer, yes or no :P


Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.

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  

×