- Edited
Then when you say it is not working what exactly is happening? That might help in giving a clue, for the experts out there.Stygmata wroteThis is an example..let's sayit exists..i can run it by double clicking on itrolf wroteTo make sure, do you have an app called "PrintArt.exe"? Can you run it by just typing PrintArt on the command prompt?Stygmata wrote I changed the user to runas /user: centralmotors.local\administrator and changed "yourpassword~" to the password lets say "123456~"
i saved the vbs inside the executable exe folder but it is not working
I don't know if I should consider myself an expert I've used Wscript and wrote several scripts in VBscript, but that was long time ago.
In Windows, it's probably just a matter of pasting it in a text file and saving it with the right extension. I don't know what that extension would be for C#.Stygmata wrote How cani make it into an executable ( something the user to click )
(In Linux, every file has a special "executable" bit that has to be set, and also the first line of a script can have special meaning to execute the script, like you saw in your perl script - #!/usr/bin/perl)