Hi Everyone, have got this application that exports multiple files bit gives them random names, i would like to rename all the files in the folder to the first 3 characers on the firstline then put an underscore and then the first 5 characters on the seconline **example** randomfile_001.txt contain the following lines Abc/xyz def12/pqr to become Abc_def12.txt is there a way to rename in vbs or .bat thanks alot

Member Avatar
+0 forum 0

Hi, I installed Windows 8. I have write a personal script (.bat file) which worked with Windows 7 perfect. The problem on Windows 8 is: My script executes this command: xcopy "D:\X" "D:\E" /S /E /I /Q /H /K /O /X xcopy is Windows's copy command. "D:\X" is source directory "D:\E" is destination direcotory /S /E /I /Q /H /K /O /X are other parameters. I got "access denied" error. I check the properties of the directories "D:\X" and "D:\E". On the "security" tab of properties, "Authenticaed Users", "SYSTEM", "Administrators" ve "Users (computerName/Users)" all got "Full control" enabled. I got …

Member Avatar
Member Avatar
+0 forum 1

how can i convert xml based script; which is created by SqlYog software. I want to convert this xml based script to batch file (full coding from xml to batch file script; not only batch(.bat) format.) So i can run the synchronization / backup directly clicking with batch file. give me code for this procedure. like @echo off CLS...... type format.

Member Avatar
Member Avatar
+0 forum 2

Alright, I'm having a problem with a scheduled task not running. At first it wouldn't run the vbs, so I created a bat to run it and then it would work, but only when the user is logged in. I went into the local security policy and made sure my account was in, "log on as batch job" group. When I assign it to then run whether logged in or not, it fails to run. It gets caught up somewhere, without throwing any error codes, but not creating the Excel spreadsheet. If anyone has any ideas, I'm open to it. …

Member Avatar
Member Avatar
+0 forum 3

I recently wrote a java jar file that takes the current date and time and puts it into a text file. What i want to do is put this into a users startup folder so i know when they got on to the computer. However, if the jar is in the folder nothing happens. If i put a .bat file in the folder with the code [CODE]javaw -jar LoginLogger.jar[/CODE] it gives me an error saying that LoginLogger.jar could not be accessed. But if I double click the bat it works fine. Just not at startup. Does anyone know whats wrong …

Member Avatar
Member Avatar
+0 forum 5

The End.