Jump to content

Placing space into a send command line


Recommended Posts

Hi,

I wonder if anyone can help me with a problem of placing a space into a command line. At the moment when I run this command line everything goes to the prompt alright except for the "cmd". It gets pushed up against the users name like this runas /npprofile /user:\ad\admincmd how do I place a space between the admin and the cmd ?? :)

send(" runas /noprofile /user:"&$host& "\ad\"&$user&"cmd")

Link to comment
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
 Share

  • Recently Browsing   0 members

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