I have to convert about 40 text files into PDF format daily. I would like to create a batch job to do it automatically. I searched for a while, lots of PDF converters do not support in command line mode. ...
Computing.net: Question & Answers Forum Latest Questions
Continuing from post https://computing.net/answers/pr… ———————————————————– I need to try and modify the script below to tell me if the machine was pingable or not. This script doesn’t work well if the machine’s IP address was cached in ...
Ok I need to stop a service that has dependencies. Annoyingly it asks the user to press yes or no. The trouble is that I don’t want it to ask. I want it to automatically do it. for example “net stop mgmt” I’m ...
how can i log the windows script host error messages in my code when i detects a error
I need a .vbs to search subfolders of %programfiles%\adobe and find acrobat.exe (eg. %programfiles%\Adobe\Acrobat 9.0\Acrobat) then return and filter the results to the Acrobat version folder (eg. Acrobat 9.0). I have an old batch which does this but I’m not sure ...
I create a batch file with one command only ConvertExcelToCsv “C:\NEW ΦΟΡΤΩΣΕΙΣ ΦΕΒ 2012 NATURALIA.XLSX” “Φύλλο1” ConvertExcelToCsv is a console application (.Net Framework 2.0). I has two arguments 1. “C:\NEW ΦΟΡΤΩΣΕΙΣ ΦΕΒ 2012 NATURALIA.XLS” 2. “Φύλλο1” Well, when run this batch, Greek ...
Hi, I am trying to write a batch file to find the folder that has the largest number in its name. i.e. I have 3 dummy folders with alphanumeric names in the directory Prod110000 Prod112000 Prod114000 So it should find “Prod114000” for me. ...
Need a batch file the will check my xml file and replace value of a string. hope you can help @echo off setlocal EnableDelayedExpansion set “_search=value1” set “_replace=A” set “_search=value2” set “_replace=B” for /F “delims=” %%a in (LastestFRN.xml) DO ( set line=%%a
I’m using a vb script – here’s my script: const ForReading = 1 Set objFSO = CreateObject(“Scripting.FileSystemObject”) Set objFile1 = objFSO.OpenTextFile(“whitelist”, ForReading) strCurrentDevices = objFile1.ReadAll objFile1.Close Set objFile2 = objFSO.OpenTextFile(“ntbtlog.txt”, ForReading) Do Until objFile2.AtEndOfStream strAddress = objFile2.ReadLine If InStr(strCurrentDevices, strAddress) = 0 Then strNotCurrent = ...
hi all profs 🙂 i wondered if i can hide the contents of .bat file of being seen by the user or even encrypt this file while making this file fully working, any ideas? thanks in advance 🙂