I would like to background a program that I have in my startup folder, so that it runs when I log in to windows. I have tried to use the nircmd program but I don't see how I can do it. Also when I put: Nircmd win hide ititle "programa""
in the windows cmd I get a message that tells me that Nircmd is not a valid win32 application. The truth is that I have not found practically anything on your website . By the way, I already ask if there is something that can be done in this sense with Python.
OS: WXP SP3
Python: 3.4.4
Thank you very much for your help and happy new year.
you can use a .vbs to do this, change the autostart path to the .vbs one and it will start in stealth mode.
One option is to do it with powershell which is supported in cmd by default.
If you want to inherit the parameters from the script to the executable file you can do something like this
FilePath is the path of the file to execute, WindowStyle is to specify the window mode (hidden, maximized, minimized and normal), finally the variable "parameters" adds the parameter ArgumentList (list of arguments) to the powershell command to inherit ( if any) all arguments from the bat file to the executed file