Summary: Hi all, I have a string containing a complete path of a file in my BATCH file . I would like to extract only the path leaving the file name and previo...
Summary: The \\ is basically because the folder is on a network drive, apdprint being the server. The file is not actually generated in a random location, the ...
Summary: Ok, I just downloaded this article and it is in pdf format, and i dont have acrobat, so it may look a bit weird to you, and thats why... plus, just le...
Summary: Hi, I've been trying to do a batch job which checks a directory for files of given extension and process the newest file ONLY when it has todays date ...
Summary: It's more a matter of programming style and preference, rather than "better." Many programmers don't like having "magic numbers" in their code, and th...
Summary: Time to do some reading: C:\>CALL /? Calls one batch program from another. CALL [drive:][path]filename [batch-parameters] batch-parameters Specifi...
Summary: well searching around here found me the replacing part i needed. So I whipped this up. @echo off setlocal EnableDelayedExpansion echo enter episodes s...
Summary: I think some context is lost... have you tried "for /?" If you still cant understand, i will try to explain... c:\>for /? Runs a specified command fo...
Summary: Holla gave my friend Markey the following code a few days ago: setLocal EnableDelayedExpansion for /f %%b in (computer-names-list.txt) do ( net use t:...
Summary: i've double cross check everything and everything is ok. so at the least this i suggest you to do this: - start from scrath. - create new folder eg. c...
Summary: hmmm.. I am starting to wonder if this is even possible in a batch file since no one is responding. It sure is getting lonely in this thread.... ...
Summary: About solid lines, I have no exposure to unicode, but I repeat: batch files are set up in Notepad and mostly display in NT system console (people name...
Summary: I have a text list of about 3000 numbers/names that correspond (only partially) to file names in a folder/subfolders that need to be compiled into one...
Summary: wow! beautiful too :) hello gtaion .. so gtaion, how did u learned all this stuff ... i mean did u had a formal schooling before about this subject or...
Summary: hello- i would like to create a scheduled task with a batch file. i have used schtasks correctly but whenever it creates a task it wont run. if i ins...
Summary: I would like a batch file that will delete sub-directories and the files contained in them, but it should keep the most recent 10 directories. example...
Summary: I'm not sure if this is a parsing problem or not, but I would appreciate help. My fingers are bleeding from goolgle searches on the problem. I'm tryi...
Summary: This might need a little tweeking, but if I understand what you're tring to accomplish, this (perl script) should do what you need. See if the higher...
Summary: I'm trying to create a batch that removes all .DS_store files located on an external harddrive. Unfortunately I've hit 2 roadblocks. For one, I can't ...
Summary: thanks i like the compare the dir info idea Thanks I searched around here a bit and found how to compare files from one of your posts i believe is the...
Summary: Im trying to create just a simple file in every directory of the computer containing the words CD somewhere in the title of the directory. I think I'v...
Summary: I won't repeat the answers already posted, but I will explain roughly how this works, in my typical painfully-long-winded style... Headers can be used...
Summary: It may be that robocopy only takes paths, not file names. If so, you're shovelling against the tide. Try: robocopy /? M2 If at first you don't su...
Summary: I am trying to write a Windows O.S. install batch. I want the install batch to allow me a choice before proceeding to the next step. I have added the ...
Summary: Hi there I'm having trouble accomplishing the below. I would like a batch file that will delete sub directories and the files contained in them, but...