Sign in to follow this  
Followers 0
sparkle

Script for Pcanywhere

3 posts in this topic

Hi

I made just a little script for pcanywhere. But I've got a problem.

$poste = InputBox("Pc", "number", "")

Run("C:\Program Files\Symantec\pcAnywhere\awrem32.exe C:\winnt\profiles\all users\Application Data\Symantec\pcAnywhere\Network,Cable,DSL.chf" /c$poste")

In the inputbox, you put the network name of the computer.

For example if you want to take control of the PC3000, you will have:

C:\Program Files\Symantec\pcAnywhere\awrem32.exe C:\winnt\profiles\all users\Application Data\Symantec\pcAnywhere\Network,Cable,DSL.chf" /cPC3000"

How can I put the string in this command ?

Thanks for your help

Share this post


Link to post
Share on other sites



Whenever you need to insert a variable to a string, use syntax like this:

$variable = InputBox("Title", "Prompt")
MsgBox(0, "Test", "This is my variable: " & $variable); <-- See how I joined $variable to the regular text?

Share this post


Link to post
Share on other sites

Whenever you need to insert a variable to a string, use syntax like this:

$variable = InputBox("Title", "Prompt")
MsgBox(0, "Test", "This is my variable: " & $variable); <-- See how I joined $variable to the regular text?

Thanks that's great

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  
Followers 0