Jump to content

How do I overcome quotes?


jhave21
 Share

Recommended Posts

hello 

I made a GUI script with this output

pic.JPG

(hey, don't get the wrong Idea, it's a prank :) )

so now what I wanna do is when I press the activate button this line would execute 

$RunDos_return = _RunDos($cmd)

(note: I need the return(response) of the _RunDos() function that's why I did that,)

now the "$cmd" variable should hold something like this:     ( a batch script)

:LOOP
    setlocal enableextensions disabledelayedexpansion

    for /f "tokens=2,3" %%a in ('netstat -e ^| find "Bytes"') do (
        echo Sent: %%a Received : %%b
    )
goto :LOOP

but I can't put 'em all in a variavble,

need help :(

 

don't worry about my batch script, I just don't know how to execute them in _RunDos(), and yes, the script works

 

Edited by jhave21
Link to comment
Share on other sites

  • Moderators

Prank scripts are also against the forum rules, aside from being stupid and childish. Thread locked. Please read the forum rules before you post again.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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