Batch script to find files greater than 10MB in D drive in windows xp
Hi , I would like to have a batch script where I can find files which are greater than 10MB in D: drive. Regards, Orbit. ...
Hi , I would like to have a batch script where I can find files which are greater than 10MB in D: drive. Regards, Orbit. ...
I am trying to make a relative shortcut using a batchfile and a program to turn the batch in an exe program with an icon. I need a 'shortcut' to open the next alfabetic parallel folder in an explorer window and one to open the previous. Ideally I would even like it to to close the explorer window used to doubleclick it. I have so far: ...
I want to checkout some files from a batch script, but since we use UCM checking out files needs to be associated with an activity. Is there an easy way to show the GUI for creating/selecting an activity to associate the checkout with? ...
I have a batch file that I can't change, but I want to automate with Powershell 2.0. It ends with a PAUSE command, which displays: Press any key to continue... Is there an way to call this batch file from a powershell script, but have it exit without needing a user to press something? ...
Is there a way to make sure that all of the environment variables from MSBuild are propagated to the batch scripts that I am calling from my custom build steps? It would be really nice to use variables like %CONFIGURATION% and %TARGETPATH% in the batch files... ...
I am trying to write a batch file that exists in an arbitrary directory and will create a new directory two levels above it. For instance, the batch file here: w:\src\project\scripts\setup.bat would create: w:\src\project.build I can't seem to figure out how to expand a path. Here is what I am currently doing: @set SCRIPT_DIR=%~dp...
C:\>type c:\output.txt abcd C:\>type c:\output.txt | set /p V1= C:\>set ... A bunch of junk, NOT seeing "V1" What happened? According to all documentation for SET I've seen, %V1% should have been assigned a value of "abcd" from the above, no? I'm on Windows XP Pro, SP3 if it matters. ...
Ok, here's the problem. My goal is to run FF Portable, when Jetty starts. My start.bat looks like that: @echo off start /B start_jetty.bat start /B start_firefox.bat start_jetty.bat: @echo off cd jetty-7.1.6/ java -jar start.jar start_firefox.bat: @echo off ping -n 1 -w 6000 0.0.0.1 "%cd%\FirefoxPortable\FirefoxPortable.ex...
I have a batch file that runs a couple executables, and I want it to exit on success, but stop if the exit code <> 0. How do I do this? ...
I have a batch script that triggers vlc for me on my network, the problem is it opens based on URLs in a browser. The browser automatically adds the %20 in place of a regular space, and I need to replace this with a regular space again in my batch script before sending the file path on to vlc. Here is my code; @echo off set str=%1 set ...
Is there a way to get epoch time using a dos command? If not, can the date, time dos command output be modified? For e.g Date in dos gives the date with / etc. I would like to get an output that has no special characters such as / : ...
I have an ASP.NET web form that reads a file and writes some data to a database. I need to run this process on a scheduled basis. Currently, I have a scheduled task that calls a batch file. The batch file then opens Internet Explorer and navigates to the URL and the process is fired. There is another scheduled batch file that closes In...
My application generates between 35 and 55 PDF files of which I have to automatically print four copies. All these files are in a single folder. My requirement is to use a batch file to print four copies of each file. I have Adobe Acrobat Reader installed. How do I do this? ...
I'm trying to pass files one by one(I have to dot that since executable only accepts one file at a time). So, in my batch I have follwoing: FOR /F %file IN ('dir /b /s *.css') DO CALL myExecutable.exe %file I should see out files in same directory but nothing happens, no errors are displayed either. Am I missing something here? ...
I have a program which reads a text file line by line, and creates a Hibernate entity object from each line, and saves them. I have several such text files to process, each of which has about 300,000 lines. I'm finding that my current implementation is excruciatingly slow, and I'm wondering if there's anything I can do to improve thing...
Hi, can anyone please tell me how to move a folder from one path to another path using batch script? For ex: I want to move XXX folder(including the contents) from D:\abc\XXX folder to D:\cef\ Regards, Orbit ...
Hi, How can we transfer/ftp a folder with its contents from one server to another using batch script? Is it something that can be achieved using a secured file transfer like winscp, but to run from batch script. Appreciate your help Regards, Orbit ...
I need to create a .bat file to run java program. I have a DatabaseConnect.class file under "C:\Program Files\Java" directory. And I have a jar files for database connection in "C:\Program Files\JarColl" directory. I tried but no success . ANy help is appreciated. ...
I am trying to write a batch(for win) and a shell script for linux to automate key and touch events on a android UI. At the moment in a windows batch file I am starting a adb shell for each event for eg :again adb shell am start -a android.intent.action.MAIN -n com.q.me.fui.activity/.InitActivity sleep 15 adb shell sendevent /dev...
I am just starting to get a handle on batch programming. To date, I've been copy/pasting into the MS-DOS command prompt from a text editor. Some of these copy pastes are getting large. Im sure there is a better way to go about this, ie. writing a line in command prompt that calls other text files (effectively doing the work of copy past...