I want to know some of the system commands under windows, i.e executing programs and copying files, but i type 'system commands' in msdn and it doesn't want to bring them up.
I want to know some of the system commands under windows, i.e executing programs and copying files, but i type 'system commands' in msdn and it doesn't want to bring them up.
ShellExecute opens files
and for the rest look under the platform sdk i believe
PHP and XML
Let's talk about SAX
Thanks waldo, that works
I want to be able to copy one of the glut (opengl stuff) dlls to the system folders at school without having to ask for permission, I don't think using shell/system (whatever you call them) commands will end up working though, but it's worth a try.
>system commands' in msdn and it doesn't want to bring them up.
No it brings up what ever it wants. Usually stuff to do with Fox Pro, J++, or Word 97 macros.
Copy this code into notepad (changing the filename and path) and save as "Copy.js". Then double click...Originally posted by Shadow12345
Thanks waldo, that works
I want to be able to copy one of the glut (opengl stuff) dlls to the system folders at school without having to ask for permission, I don't think using shell/system (whatever you call them) commands will end up working though, but it's worth a try.
Remember that if you are using a path, then use "\\" instead of "\" - just as in C++Code:try{ var oFs = new ActiveXObject("Scripting.FileSystemObject"); var oFile = oFs.GetFile("filename"); //Or whatever the file oFile.Copy("path"); //Or whatever the folder WScript.Echo("File copied"); oFile = null; oFs = null; } catch(e){ WScript.Echo("Error running script!!"); WScript.Quit(1); }
Fordy is definately a jack of all trades.
"Jack of all trades, Master of none"Originally posted by golfinguy4
Fordy is definately a jack of all trades.
That's cool, what exactly is that? Is it a javascript file?? What other cool stuff can you do with it? I know nothing about javascript
well, at my school there is a c++ compiler for the c++ class. i made a simple program using system("cmd") to open the command prompt. from there i can do anything, just use the copy command. and also, if you rename an exe that is restricted to something like write.exe or sol.exe i'm able to run it (must do in command prompt), thats just something you might find fun at school
Its a M$ derivative of JavaScript that they call JScript (althought there are very few differences)......it works via WSH (Windows Scripting Host) as does VBScript and there's a lot you can do with itOriginally posted by Shadow12345
That's cool, what exactly is that? Is it a javascript file?? What other cool stuff can you do with it? I know nothing about javascript
well, at my school there is a c++ compiler for the c++ class. i made a simple program using system("cmd") to open the command prompt. from there i can do anything, just use the copy command. and also, if you rename an exe that is restricted to something like write.exe or sol.exe i'm able to run it (must do in command prompt), thats just something you might find fun at schoolcool thank you guys. You're awesome!Its a M$ derivative of JavaScript that they call JScript (althought there are very few differences)......it works via WSH (Windows Scripting Host) as does VBScript and there's a lot you can do with it