Screensaver...

How do I run a screensaver through a command prompt?

I want to use the system() command to use a screensaver through the command prompt.
Just find where screensaver program is saved, then

use this to run the program:
1
2
3
system("<path to the program>");        
like:
system("c:/Windows/System32/cmd.exe");            

I've already done that. Guess what happens? It opens the configuration for the screensaver, it doesn't actually run the program.
Topic archived. No new replies allowed.