I’m trying to create batch file to connect to a home network appliance storage (NAS). How do I make it to first ping if NAS is present to “net use: “, if not present echo NAS is unreachable? @echo off ping ...
Computing.net: Question & Answers Forum Latest Questions
Hello, I’m quite ‘green’ in programming and I need your help. I need a batch file which could find specified text line in .ini file, be able to delete that line and type in the text by your choice. (menu) @echo off
Hi. I have a folder of .pdf files I’d like to rename using a batch file. Each filename consists of three words separated by an underscore: first_second_third.pdf Would like to rename with this result: third_second_first.pdf Am still pretty new at batch file programming and ...
Example, I have a text file and the contents are: Dog Cat Horse 3456 Horse Dog Mouse 1234 Bird Cat Dog 4567 Dog Mouse Bird 1112 Horse Cow Fly 22234 Cow Dog Mouse 54444 Cow Fly Mouse 2323222 How do I write ...
Hi, I have a folder within which there are multiple subfolders recursively. all these sub folders are named with a timestamp e.g. c:\test\2010112414254234 i.e year(4 chars) month (2 chars) date (2 chars) hour (2 chars) minute (2 chars) second (2chars) millisecond ...
I am trying to create a batch file that will increment a build number. For instance, the batch file will read “Version 1.2.xxx:” (xxx will be the current build number) After the batch file runs, it should increment the last ...
Hi I saw somewhere on a website that set /a=4+2 gives you the awnser 6 but it gives me a missing operand error. What i want to do is I want the user to input 2 numbers (set /p=) and ...
Hi My Friends I have this Code : @echo Majid Pasha Now I want to change the size Of “Majid Pasha” with a code sth like : @echo >10<“Majid Pasha” I don’t mean changing font size via CMD Properties , I just want some ...
Is it possible to delete a registry key only if it exists with a batch file? For example, I would like to completely delete the following registry keys ‘KeyName’ without confirmation. REG DELETE “HKCU\Software\CompanyName\ProductName\KeyName” /F REG DELETE “HKLM\SOFTWARE\CompanyName\ProductName\KeyName” /F REG DELETE “HKCU\Software\Wow6432Node\CompanyName\ProductName\KeyName” ...
I am finding quite difficult in coding VB Trigonometry Calculator. Their Should be three sides and two angles. When two sides are entered it should display the answers of the remaining or when 1 side and a angle is entered ...