I'm not sure if the arguments will be passed onto the script though, there will be a way if this doesn't work (maybe a switch?). As far as I know (and tested), arguments in Python don't need switches to be passed on. And, just like cmd, its first argument (0) is always the program full path. Just t...
I'm studying Python so I think I might be able to help you. Could you post your python code? Edit Wait. Maybe your P code isn't necessary. Try this: @echo off cd \input for %%f in (*.txt) do ( echo "%%~nf" "D:\impressio\deployment code\add_null.py" "%%~f" ".\%%~Nf_...
Now it looks even better! And I, too, prefer VLC. Here's another suggestion: put "%programfiles%\internet explorer\iexplore.exe" in a variable (e.g., iexplorer) so you don't have to rewrite it over and over again. set "iexplorer=%programfiles%\internet explorer\iexplore.exe" ::re...
There must be an easier way to do this, but all I can think right now is a nested FOR loop. Which list would be bigger, one containing names of services to DISABLE, or one containing names of services to keep? You can create a .txt file with the services names you want to disable OR keep, and then r...
I think batch files can't "recognize" directories on a server, but it might work if you map this network path to a network drive; have "\\server\project\textures" as a new drive letter, e.g., "S:\". So instead of running your batch from "\\server\project\textures&...
@Fawers, thanks for the help!! really appreciate it. Your bat worked perfectly but I've chosen to use aGermans one because it skips the whole _tmp stage, sorry I thought that _tmp stage would be neccessary No problem at all. Feel free to choose the codes that work better for you, always. So say Im ...
You're right. After so many replies, it sure is better to create a whole new thread so it can gather more and more replies. I am so sorry for my naiveness.
I'm neither acquainted to this program nor to this image format, so I'll try to help following your parameters. Are these pieces of code written in different batch files? You can easily call a second batch from the first one with the CALL command. CALL /? for help. Convert.bat: @echo off for %%i in ...