Tech Problem Aggregator

vbs or bat file copy / rename based on txt file in that directory

Q: vbs or bat file copy / rename based on txt file in that directory

Structure:
• I have a network directory that stores photos of individuals in jpg format. There may be only 2 pics of each person, or there may be 7 pics.
• Each persons pics are stored in a randomly named directory / subdirectory. dont have any control over the original program, it's just the way it was written, does not seem to follow any logical pattern, possibly a HEX naming structure based off the date & time, who knows (I will include a sample directory tree at the end of the post).
• Included within each of these created directories, along with the pictures, is a standard text file (filename "B.TXT") which includes the date the picture was taken, the persons name, and other information.
• Each time a person comes in and their picture is taken, the program: (i) creates the random directory (ii) stores the pics (iii) creates the "B.TXT" file with the persons information (iv) generates several other program specific files that I have no need for.
• The program names each of the pictures with the exact same names, which is why they are stored in different directories, so they will not overwrite. The retention period on each individuals directory, pics and files is approximately 40 days.

MFXX0000.jpg (Forward facing)
MLXX0000.jpg (Left facing)
MRXX0000.jpg (Right facing)
STXX0000.jpg (Identifying marks picture 1)
STXX0001.jpg (Identifying marks picture 2)

• As stated above, sometimes there is only the MFXX0000.jpg and MRXX0000.jpg files, but sometimes there is forward, left, right, and multiple STXX files.

Problem:
I have created a simple batch file with a robocopy command that copies just the jpg and b.txt files and saves them to a desktop computer, this of course, recreates the directory structure as well. I retain the b.txt file so that I will have the persons name and other information to go with the pictures. At least this way I can goto the root directory of the many random subdirectories, and run a search through windows explorer of the "B.TXT" files, searching for the text string of the persons name.
What I am trying to figure out is a simple batch file or script that will do the following:

Search through the root picture directory and sub-directories
Search the "B.TXT" file in each sub-directory for the text that follows the string "NAM = ", store this variable as $NAM
Search the "B.TXT" file in each sub-directory for the text that follows the string "DOE = ", store this variable as $DATE
Rename the MFXX0000.jpg file to "$NAM_$DATE_MFXX_##" (## being sequentially numbered files depending on how many pictures are in that particular directory)
Rename the MRXX0000.jpg file to "$NAM_$DATE_MRXX_##"
Rename the MLXX0000.jpg file to "$NAM_$DATE_MLXX_##"
Rename the STXX0000.jpg file to "$NAM_$DATE_STXX_##"

After this is done, then I can do another simple search for *.jpg files, using windows explorer search, and drag and drop them all into a single directory, and there should not be any duplicate file names.
Currently there are 617 pictures, however there are 617 files named "MFXX0000.jpg", 617 files named "MRXX0000.jpg", and so on.
The move to a single directory for all .jpg files could also be incorporated into the script or batch file, but that issue, once they are renamed, is a simple enough manual fix if need be.

Anyone have any ideas. There are programs out there that will recurse subdirectories, copying and renaming all files and depositing them in a single directory, but none that will search for specific strings within each directory's text file with the naming properties.

=-=-=-=-=-=- STRUCTURE OF THE "B.TXT" FILE STRINGS INFORMATION -=-=-=-=-=-=-=-

NAM = "BLOE,JOE SMITH" <<------ need this as the first stored variable
SEX = "M"
RAC = "W"
DOB = "03021984"
HGT = "602"
WGT = "170"
EYE = "BRO"
HAI = "BRO"
DOE = "20110310" <<------- need this as the second stored variable
IDX_JPG = "MFXX0000.jpg"
IMT = "FACE"
PHD = "20110310"
HLL = "480"
VLL = "600"
CGA = "JPEGB"
CSP = "YCC"
POS = "F"

=-=-=-=-=-=- EXAMPLE OF JACKED UP DIRECTORY STRUCTURE CREATED BY THE PROGRAM -=-=-=-=-=-=-=-

Folder PATH listing for volume DigitalArchive
Volume serial number is 00500055 0658:AEB1
P:.
\t000
\..\t061
\..\t07e
\..\t0da
\..\t0f3
\..\t0fb
\..\t0c7
\t001
\..\t067
\..\t0d7
\..\t08e
\..\t09d
\..\t08c
\t002
\..\t001
\..\t08e
\..\t041
\t004
\..\t00c
\..\t09f
\..\t0a4
\..\t081

thanks in advance for anyone taking on this puzzle
Respectfully submitted,
John R.

~-~-~-~ techguy forums are the greatest ~-~-~-~

A: vbs or bat file copy / rename based on txt file in that directory

Wow, no takers yet ? I see there has been a few lookers, but no one - just a bump on the thread to get another look

many thanks to anyone that will give me a hand

1 more replies
Answer Match 81.9%

I require a batch file or free utility that i can redistribute from my web site to other users, (gamers) that will copy the contents of a directory inside their game to a new location and re-name the directory at the same time. Something like this;

Copy "Genesis\Vehicles\truck\diesel\4tonbaker" to "Genesis\Vehicles\truck\diesel\4tonbutcher"

The batch file needs to be run without the need for a command line box being opened, that is, if the user can double click on it or run it with a 'right click' that would be great. Problem there is, I maybe need an exe file not a batch file. The other part of the problem is that the folder to be copied may or may not be in the same location on every PC that runs the file. It may be the case that the 4tonbaker folder is on;
C:\Genesis\Vehicles\truck\diesel\4tonbaker or
D:Genesis\Vehicles\truck\diesel\4tonbaker or even
E:\Games\mystuff\Genesis\Vehicles\truck\diesel\4tonbaker

and I require the end user to have no need to know, just for the directory to be copied and renamed when and where it is found.

If possible I then want the batch file to perform a second task. I want to distribute a folder, lets say it is 4tonbutcher and in that folder there are files lets say doc1.txt, doc2.txt and doc3.txt

On any given users PC 4tonbaker has these same named files but the content is different to the ones in my folder 4tonbutcher, I want to update the newly created folder, 4tonbutcher with the new txt files I d... Read more

A:Batch file or Exe to copy & rename directory and update files

Sounds like you need a windows shell program, I'm not expert enough to help you with this

Here's a nice tutorial:

Win32 Shell Scripting Tutorial

Off topic: this is trivial to do in UNIX, I can whip up a shell script for that in no time...

1 more replies
Answer Match 95.34%

I'm in the process of repair/recovery of my machine (Dell Inspiron 8500 with Windows XP Home, Service Pack 2). I'm following exactly the instructions in: http://attachments.techguy.org/attac...chmentid=62075, but a problem has developed. The "software" file (which is the file that the original blue screen error message says is "corrupt, absent or not writable") will not copy to the new tmp directory to create the backup. My understanding from the article is that this backup file (software.bak) will later be used to restore correct settings for various software applications. Since I can't copy it, it appears that I am screwed, no? Or is there a way out somehow?

Thanks to anyone who's been there and can help...

BTW I have the XP installation disk that came with, and a diagnostics disk which I have not yet run.

Jeeb
 

A:Blue Screen: Registry File Failure; can't copy corrupted file to tmp directory

Never mind, I had it wrong--didn't read the document referred to above carefully enough. The procedure worked like a charm, and the document is very easy to read and entertaining to boot! (pun intended).

The document describes a procedure that closely follows a Microsoft KB document (which I now can't find) but does not contain any warning regarding whether the OS is an OEM (original equipment manufacture) install or not. The Microsoft doc says not to use the procedure on an OEM-installed OS, but I just did it on my Dell, so that warning seems to be incorrect.

Many many thanks for the help provided by this document and this site.
Jeeb
 

1 more replies
Answer Match 95.34%

I cannot copy or paste jpeg files from my computer to my SD 2GB cards. Also, I get this msg when I try to print jpeg files. Using Adobe Elements I am able to archive these files. Oddly enough I can attach and send these jpeg files via email. Prior to August '08 was able to do these tasks without a problem. I suspect that there is a software compatibility problem since this problem came on suddenly (maybe iTunes?). No problems importing jpeg files from SD cards. I've looked at several sites on the internet but none seem to have the right solution for my problem. THANKS for any help that you can provide! -Stu

A:Error copying file or folder; cannot copy img the directory or file cannot be created

This has caught me more than once.

The problem is a limitation on the number of files and folders allowed in the root folder of a FAT16 file system (as for a memory card) of 512. (Note, this number is reduced much further if longer file names than 8 characters are used, as most people will want to).

When transferring the files onto the card, new files will be rejected when you hit this limit.

So keep your files in separate folders, so they are not all in the root folder.

For files and folders in root it might be worth keeping your filenames under 8 characters in length so you can use the full 512 files on root folder.

3 more replies
Answer Match 91.56%

What is the format for ROBOCOPY to copy a file from the source directory and rename that file in the target directory? ie, file c:\A\a.txt should be copied as C:\B\b.txt

Thanks,
Dan

More replies
Answer Match 90.3%

I have used the following registry mod successfully in win XP to add a right click option on a folder to rename m4a (AAC files) to m4b (bookmarked AAC files).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\m4b.m4a]
@="Rename m4a to m4b extensions"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\m4b.m4a\command]
@="cmd.exe /c \"rename *.m4a *.m4b\""

Unfortunately, it is not working in Windows 7 32 or 64 bit. If I open a command prompt in the folder, the rename command works as advertised, but for some reason it won't execute properly from the context menu based on the registry key.

A:directory shell context menu item to rename file extensions

I would change it to simply "cmd.exe /k" to see what directory is the default then the prompt opens.

3 more replies
Answer Match 89.04%

Hello all , i am new to batch programming.

I wish to have a batch file to read .apk file from folder and then copy it to another folder. Then it should rename the copied apk file to test.apk

eg:
i have a file in folder e:\apps\angrybirds.apk , I want to copy this angrybirds.apk to d:\apps and rename it to test.apk

Here the file names in the e:\apps\ will be changing. So what ever may be the name , it should read the name of the file from e:\apps\ folder , copy it to d:\apps\ and rename it to "test.apk" . Test.apk is a fixed rename
 

A:Solved: Batch file to copy a file from folder and rename it in another folder

12 more replies
Answer Match 88.62%

i have a bunch of files on F: drive. There are many subfolders. i have one file called 'F:\master' whos data i want to copy to another file within the subfolders having some unknown name- the only thing i know is the suffix of the file name. so i have folders a, b, c, d, and so on. within each folder are a bunch of files named whatever. for every .txt file in the subfolders i want to copy the file 'master' to.
for example in folder 'a' if i have file named 'hello.txt', what i want to happen essentially is 'copy F:\master F:\a\hello.txt'. If i do a 'dir F:\a\*.txt' and find it has 100 files called hello1.txt, hello2.txt and so on then i need 'copy f:\master f:\a\hello1.txt' and to hello2.txt hello3.txt and so on.

how can i accomplish this?
thanks.

A:help scripting way to copy/rename one file to subfolders

So you want all TXT files inside a folder (and its subfolders) to be replaced by master?
why?

9 more replies
Answer Match 84.84%

Hello ,I am copying photo's from my computers hard drive to a SD memory card. every now and then I get the above message. the memory card is 1Gb capacity and at the moment is about 25% full.
Any help will be most appreciated
jaysto
 

A:Cannot copy picture, the directory or file cannot be created

6 more replies
Answer Match 84.84%

I have a problem copying photos in jpeg; There are about 600 photos in onde folder. When I try to move the photos to an SD card (which I just reformatted), some but not all will copy over. It is not a capacity issue. I receive the message "Cannot copy the file. The directory or file cannot be created." Further, the problem seems to have followed the same files to my external hard drive and a CD! This means I cannot copy from my backup to any other device. Other backup cd's work just fine, and most other photos can be moved about with no issues. I can, however, move the affected files into a zip folder and unzip them. But I am not sure that even worked because there did not appear to be much compression when zipped. In any event, it appears the file itself got corrupted somehow - any ideas?

Tech Support Guy System Info Utility version 1.0.0.1
OS Version: Microsoft Windows XP Professional, Service Pack 3, 32 bit
Processor: Intel(R) Pentium(R) 4 CPU 2.20GHz, x86 Family 15 Model 2 Stepping 4
Processor Count: 1
RAM: 2046 Mb
Graphics Card: Intel(R) 82845G/GL/GE/PE/GV Graphics Controller, 64 Mb
Hard Drives: C: Total - 152625 MB, Free - 109931 MB; F: Total - 305242 MB, Free - 250267 MB;
Motherboard: Dell Computer Corporation, 07W080, A00, ..CN7082134TH08T.
Antivirus: Norton 360, Updated: Yes, On-Demand Scanner: Enabled
 

A:Cannot copy picture, the directory or file cannot be created

6 more replies
Answer Match 84.84%

Hey all I have been trying to get all the file names of a directory copied into notepad, but i cannot get them to display without their extensions. I have been trying

dir /b

dir /b *.

dir /a-d *.

and similar commands but none seem to work. If anyone knows how to display all files in a directory with only the file name and no extension I would greatly appreciate it. Thanks!

A:Copy all file names in a directory without extension

NM all I figured it out. I used a program called dirprinter which is a shareware app found here
http://www.programurl.com/software-d...wnloadnow.html

it can export a directory listing with only the file name.

1 more replies
Answer Match 84%

Hello,

I would like to batch replace all files in a directory with a copy of a single file. The file names need to stay the same. Suggestions?

Thanks

A:Replace all files in directory with copy of single file

May I ask why?

That is exactly what many infections do :-(

8 more replies
Answer Match 84%

Hi,
I use a few different files on a very regular basis. As an example, I have an Excel file that starts out as a template which I then modify to fit the situation. I start by navigating to the location of the "template" (via a shortcut to make it quicker), copying the file and then navigating to the sub directory where I need to copy the file. It's not a huge issue, but I'd love to simply navigate to the sub directory, right click my mouse to bring up the context menu and then click on a button to copy the file to the current sub directory I'm in.

I'm very close, but need help tweaking what I have. I created a bat file that I call from the Context menu (see below for the path I used). It works great, the only problem is that I have to click on a directory for my context button to come up. When I click on it copies my file, not into the directly I've selected, but into the current directory I'm in. This is actually good, because I'd like to be in the directory and then copy the file. The problem arises when I am in a directory that doesn't have a sub directory. In this case I have no directory to right click on and thus, I can't get my menu button to come up. I could go up one directory, click on the one I "really" want to work on, paste my file and then move the file, but I'm sure there is a better way.

Is there a location in registry where I can create a key that will come up when I right click my mouse and bring up the context menu... Read more

A:How to add a button to the context menu to copy a file to a directory

Here are some instructions I've posted to add a batch file to the right click menu. It only appears when I click on a file within a folder as far as I can tell. You can replace my stuff with yours and see what happens.






Quote:
Add Is this a link to the Windows Explorer right click Context Menu.

Step 1:
Create isItaLink.bat.
Click Start, type notepad and press Enter.
Copy and paste the following RED lines into the Notepad window:

fsutil hardlink list %*
pause

Save the files as isItaLink.bat in a folder you will be keeping.

Step 2:
Create AddisLink.reg as follows:

Click Start, type notepad and press Enter.
Copy and paste the following RED lines into the Notepad window:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\isLink]
@="Is This a Link"

[HKEY_CLASSES_ROOT\*\shell\isLink\command]
@="\"C:\\xxxxxxxx\\isItaLink.bat\" \"%1\""

Note: Change xxxxxxxx to the folder you put isItaLink.bat in.

Step 3:
Merge AddisLink.reg into you registry by double clicking on it or right clicking and select Merge.

To use, open Windows Explorer and navigate to the file you are interested in,
Right click on it and select Is This a Link.

A Command Prompt window will open with the results.

4 more replies
Answer Match 83.16%

I have a directory structure
root
1
sida
0002-A.xlp
2
sida
0002-A.xlp

...

Where a file can exist in multiple directories. Now I need to update the file and it would be nice to just be able to copy the changed file to all of the directories that contains the same file (filename). It can be anywhere from 1 to a couple of 100 copies.

Is there a way in Windows 7?
Anyone knows of a tool that does this?

// Anders

A:Update (copy) file to multiple places in directory structure

Syncback works really well for me: I have two separate machines with complicated folder structures required for a 3d software I use. I also use Synback for doing same-computer-backups. Should work well for you.

Free backup software: SyncBack Freeware | free data backup software

Best Wishes,
R?nce

2 more replies
Answer Match 81.9%

Not sure what the problem is. I am trying to copy picture folders from IE pictures to a flash drive and it keeps saying "the directory or file cannot be created". Okay....what's the issue? I have made backups to flash drives before because it doesn't want to recognize my CD drive for some reason. I'm losing my patience. I have to back up these photos or else I have to transport them out onto the web to be protected from a hard-drive meltdown. I have over 3000, so I'm getting really nervous about this lack of ability to backup. Any ideas out there?
 

A:directory or file cannot be created" when trying to copy pics to a flash drive?

11 more replies
Answer Match 81.9%

Hi all,
I need help to create windows batch file for following requirements.
1. Remove .txt and .log file format in sub folders.
2. Zip individual file inside any sub folders and give file name through command prompt. 
3. Create sub folder zip file include file zip

More replies
Answer Match 78.96%

Hello everyone,

Firstly I would like to say that this seems like a swell enough forum as is and I am frankly out of ideas. About a year ago I had backed up a rather large series of files under one name for my roommate who was in the process of doing some "spring cleaning" on his computer. Fast forward to now and he is out of Hard-drive space damn near and has been unable to find the reserve file himself. Below is the directory under which I named and saved the around 200gb file of games and old-ROTC documents. Regardless the file needs to be found and even after un-hiding all files from the control panel, I have yet been able to locate it. It would seem to be simple enough, one would think that you could see the file name sitting above Program Files but it is not. Any one have any ideas, we would rather not have to reformat/ system restore if we can avoid it.

C:\common_ORIGINAL NEW FAGS
 

A:File path error/ Cannot find file directory/file itself

I used a software called TreeSize which shows the size of all folders on the disk. Thinking that the Windows OS is around 18gb, a 200gb files should really stick out with TreeSize.
https://www.jam-software.de/customers/downloadTrial.php
 

1 more replies
Answer Match 77.7%

I'm working on a batch file that will download a file I maintain, look for a string of text, and if it doesn't find the string, rename a file or folder, or change the file or folder's attributes to read-only.

I think I can handle the last part, and I already have the ftp part done, but I am having a hard time finding any good resource for the text string lookup/IF statement.

Any help is greatly appreciated. I'm new here, please excuse my ignorance if I am posting in the wrong area or violating any rules.

Thanks,
Jash
 

A:Batch file to compare text and rename file or driectory on fail

6 more replies
Answer Match 76.44%

So basically (I'll try to be descriptive), I have an Excel file (extension xlsm) on my USB and I right click it, send to --> desktop (create shortcut). I see the shortcut. I right click and attempt to rename it with a different file extension, but the 'Rename' box doesn't show up like I believe it should and the file name changes without the warning. I need to do this for the shortcut I've created, not the file on the USB.

I have 'Hide extensions for known file types' unchecked and 'Display the full path in the title bar' checked, as I believe they should be.

I hope this makes sense and hope someone can help me out here. This has been driving me crazy lately. (Sorry if this is in the wrong section; first post here.)

A:'Rename' box doesn't show up when I rename a file shortcut

Welcome to the Seven Forums.

I'm not sure that I understand - so let me repeat the problem in my words:
file on USB drive
shortcut to that file on desktop
the name of the file on the USB drive changes
you want to change the desktop shortcut so that it works with the file on the USB drive again.

If that is what you want, then:
right click on the shortcut
select "Properties" from the context menu
change the name of the file in the field named "Target:"

...or maybe I got it all wrong...

4 more replies
Answer Match 76.44%

I'm currently in the process of copying files back from the cloud in the exact same location where I had them before and now it says that the file name is too long and prompts to see whether I want to skip the file or not. The error message given does not
give the full file name or the path so it is impossible to see which files were copied successfully or not. This never happened with XP! Then afterwards I found that some of the files with long names did copy successfully whereas others didn't. I find this
to be a very user unfriendly process and I'm totally confused! These are critical files and I'm sure I haven't exceeded 260 characters or whatever. This is soOoO frustrating!!

C

A:file copy error message not sufficient + file name too long will not copy

Hi ,

There is a limit of filename length within Windows Explorer. In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which
is defined as 260 characters.
The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface is not able to interpret properly.
This means that your long filename can only be handled at the command prompt level and you cannot drag and drop an illegal length filename within Windows Explorer.

Please simplify your folders and titles.

More information, please check the part of Maximum Path Length Limitation in the link below.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspxTracy Cai
TechNet Community Support

5 more replies
Answer Match 75.18%

I'm trying to open in Excel 2010 a file with .exf extension that is always a pipe delimited text file. I have set, using Windows file associations, to open this type of file with Excel. But, I would like for it to recognize that it is pipe delimited, so that I don't have to click on Delimited, Other, "|" to import the file. Any ideas? I also thought about using a macro to save some steps as well. Thanks for your help!
 

A:Excel import pipe delimited file based on file extension

Hi, welcome tothe forum
Macro is the solution, just start the macro recorder, give it a name and do what you do, stop the recorder and you have the macro.
Simple as pie
 

3 more replies
Answer Match 75.18%

How to create a batch file that will move files based on the file type?

My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...

A:How to create a batch file that will move files based on the file type

Download XXCopy
XXCOPY, A Versatile File Management Utility --- Boldly Extended Xcopy
This is a vastly improved and extended version of DOS XCopy
Sorry, can't remember the syntax, but its quite simple if you read the manuel carefully :-)
Put the command line in a .bat file and it will run

4 more replies
Answer Match 75.18%

Hi all,

Any idea how to write Batch File .bat to copy file from File Sharing & FTP Hosting to local directory.

Current the File Sharing & FTP Hosting is SMARTFILE.

I don't want to use WINSCP as the connector.

Thanks

A:Batch File .bat to copy file from File Sharing & FTP Hosting

Hi Chacha,

Give this batch file a try. All text in red, you should adjust before running.


Code:
@echo off
(
echo.Username
echo.Password
echo.lcd C:\Some\local\directory
echo.cd /Some/server/path
echo.binary
echo.get Some_file_to_download.txt
echo.bye
) > "%TEMP%\_%~n0.ftp"
ftp -s:"%TEMP%\_%~n0.ftp" "12.34.56.78"
del "%TEMP%\_%~n0.ftp"

1 more replies
Answer Match 75.18%

I'm having a really strange problem and am wondering if anyone has encountered this. I tried to save a file and got an error on saving it, so I quit the program. The file appears as if it was never saved and doesn't show up in directory listing (GUI or cmd.exe).

However, if I try to rename any other file to that filename, it says "Cannot rename file, because file exists" and appends a number to the end. I cannot remove the number. This happens both in the GUI and cmd.exe as well.

So, basically cmd.exe del says the file does not exist, but ren says a duplicate file name exists....

Tried restarting as well.

I have no idea how to delete that "ghost" of a file so I can actually use the filename. I checked folder options and it's not a hidden file or anything like that - it just (doesn't) exist, but it does?

A:Cannot Rename File Because File (Doesn't) Exists

open disk management ..if you don't know how to find it, just right click on "computer" from the start menu and select manage, then scroll down to disk management to open it.
right click on the partition where you tried to save the file.. or C:\ if you don't have extra partitions or more than one HDD
select properties and click on the "tools" tab
click "check now" under error checking, and on the next pop up, check 'automatically fix file system errors' and press start.. select yes when asked if you would like to schedule for the next restart, then restart your computer and let the disk check run.
If that doesn't work there are other options

8 more replies
Answer Match 74.34%

I'm trying to recover an entire terabyte, and I don't want a recovery software which will scrap filenames and file structures, leaving an unintelligible mess to wade through. Is there a software which will preserve file names and structures, and possibly allow me to restore only particular directories?
 

A:Is there a file recovery software which preserves file names and directory structure?

Hmm; Normally any backup software would do this for you.

If you had a secondary copy (say other media to which you did a copy), then this would be a snap.

It sounds as if you only have the original media and you need to recover "whatever is possible".
 

2 more replies
Answer Match 74.34%

I'm trying to recover an entire terabyte, and I don't want a recovery software which will scrap filenames and file structures, leaving an unintelligible mess to wade through. Is there a software which will preserve file names and structures, and possibly allow me to restore only particular directories?
 

A:Is there a file recovery software which preserves file names and directory structure?

have a look at this one

http://www.krollontrack.com/data-recovery/recovery-software/
 

1 more replies
Answer Match 73.08%

I want to periodically make a backup list of all files and directories on my two hard drives and save them to a text file.

I attempted to do this via this command line entry:

dir /b "C:\My Path" > myFiles.txt
And just FYI to everyone, that will not work without CMD.exe being run as an administrator.

But the problem is that the file list will only save for the files in that ONE directory. If you use "C:" in place of "C:\My Path" it just saves a list of files in the root directory only.

I want a log of the ENTIRE hard drive, and then also another hard drive, too
If there is a software that does this reliably, that would be fine, but if anyone is knowledgeable about how
to do it from the command line, then that would be great too.

Thanks for the help

A:Saving file and directory list to text file

Hi would this be of help there are 2 options to work with How to Print or Save a Directory Listing to a File

5 more replies
Answer Match 73.08%

I have roughly 1,000 files on a directory. I have a text file with about 150 names of files in that directory. I want to delete all of the 150 files that are listed in the text file.
Example:

Text file contains

File199
File203
File308
and so on

The directory has File1 all the way to File1000.

I don't want to manually go through 1,000 files to see if they are in the text file to delete them. I'm sure there is a really easy way to do this, maybe a program that can do it, or a simple command in ms dos?

Thanks.
 

A:File deletion based on text file

7 more replies
Answer Match 72.24%

hi, i have this file structure

cd C:/packer/000100014e414350

i have some files i want it to rename here is the list
000100014e414550.cert
000100014e414550.tmd
000100014e414550.tik
000100014e414550.trailer

i want to rename them to trailer.cert ect

whats the line to get it to rename of these files?
 

A:how do i make a .bat file to rename another file?

7 more replies
Answer Match 71.82%

I am trying to move a large batch of files from one folder to another on a WD "My Book" 500GB external drive and an error message keeps appearing saying the following: [Window title]: "Error moving File or Folder", [Message]: "Cannot move <filename> The directory or file cannot be created."
It seems as though I've reached a limit. Folder 1 had 29438 files in it. I tried moving all of those files into Folder 2 on the same drive (which has plenty of free space). Folder 2 accepted 22516 of those files at which point I received the error message. No further files can be added to Folder 2.

Can anyone help?

Sam
 

A:Cannot move file. The directory or file cannot be created...

From here:
http://itknowledgeexchange.techtarget.com/itanswers/4096-file-limit-on-xp/
"Windows XP it self doesn't have a limit on the number of files per folder. It depends on the file system that you are using. The max files and folders per folder are:
FAT16 - 512
FAT32 - 65,534
NTFS - 4,294,967,295

If you use long file names for the files and folders (over 8 characters for the file name and 3 for the extension) then the number of files and folders available per folder will be reduced on the FAT16 and FAT32 file systems.

If you need to put more files and folders in a single folder you'll need to convert the drive to NTFS. "

Not certain if that will help, what format is the drive?
 

2 more replies
Answer Match 71.4%

I'm trying to copy a VHD (22g, dynamic I think...)

I tried richcopy. It says copy started, but then stops....

I saw someone mention xcopy /j, to achieve the unbuffered I/O perf. you get with richcopy...

it's running, but no indication as to how long it takes (EDIT: just finished, > 10 mins),

what's the syntax for single files?

Can't you just paste the path into the source?


(starts, and stops... any logs?)

A:how do I copy a BIG single file (using richcopy?) big file copy

Use this command if the VHD is sitting on C:

robocopy "C:\Users\yourName\VHD Folder" "S:\Storage Folder" *.* /COPY:DAT /E

Change yourname and replace VHD Folder with the name of the folder where the VHD resides. S:\Storage Folder is where you want to store it.

1 more replies
Answer Match 69.72%

So i have 3 files i cannot delete after uninstalling a game. I also cannot rename the folder they are in without windows explorer not responding and i have to restart explorer.

I did take ownership method but that froze up to. I went into safe mode, and tried it that way - also didn't delete, it equally froze up.

I have attached an image of the delete attempt - it just gets stuck like that.

I'm out of options - please advise on what i should do ?

A:Files won't delete in directory - can't rename the directory either

What is drive F? Is it a flash drive?

8 more replies
Answer Match 69.72%

How can I move/copy a file from one disk to another without changing the file's creation date?

A:Copy/Move File from One Disk To Another w/o Changing the File Creation Date

You can use a utility called "Set File Date" to change a file's creation date to whatever you want.

http://www.softpedia.com/get/Others/Miscellaneous/Set-File-Date.shtml

1 more replies
Answer Match 69.72%

Hi,
I would like to create a .bat to copy files from source folder to destination folder.
Some files in source folder already exist in destination folder (Same name)
What I would like is that files existing in destination folder to be rename to f.eks filename_BAK.extension.
Eksampel.:
Source folder include. FileOne.asp - FileTwo.exe - FileTree.txt
Destination folder include. FileOne.asp - (NO FileTwo) - FileTree.txt
Result. FileOne.asp (version from source)(Existing renamed to FileOne_BAK.asp) - FileTwo.exe - FileTree.txt (version from source)(Existing renamed to FileTree_BAK.txt)
Now in desination folder.: FileOne.asp - FileOne_BAK.asp - FileTwo.exe - FileTree.txt - FileTree_BAK.txt
Files in source folder are placed in different folders, but in same structure in destination.

Kind regards
Sψren Kromann

More replies
Answer Match 69.72%

I have Windows XP-Pro SP2 installed on a P4 1.8GHz CPU with 768MB RAM

I would like a script that opens a commamd window and calls for a file (icon file) to be copied to a specific folder on 5 different drives. I would like to be able to either paste in the file path or drag and drop the file onto the command window. The icon file will always come from the same folder "C:\WINDOWS\system32\00 ICONS\System Folders" and be copied, sometimes replacing a file with the same name, to these 5 folders:

"W:\WINDOWS\system32\00 ICONS\System Folders"

"X:\0 aAPPS\00 a Install First\00 ICONS\System Folders"

"W:\WINDOWS\system32\00 ICONS\System Folders"

"N:\0 aAPPS\00 a Install First\00 ICONS\System Folders"

"D:\0 aAPPS\00 a Install First\00 ICONS\System Folders"

I apologize if I am using incorrect terms. I don't know if a batch file could do this or if it would have to be done with vbs. I would appreciate the help. I know nothing about writng vbs script and only a little about writing batch files.
Thank you.

A:Script to call for a file then copy file to specific folders

My question was answered on a different site.

Here is the link:

http://www.theeldergeek.com/forum/in...1&#entry280051

1 more replies
Answer Match 69.72%

When I use the XCopy command in Windows 2000, I can copy any file I like; however, when I use copy-and-paste or drag-and-drop in either Windows Explorer or PowerDesk, I get the following error:

Cannot Copy File: Cannot Read from the Source File or Disk

I searched the Microsoft Knowledge Base and came up with only one article, Q224378. This article seems not to apply to my situation because it applies to Windows 2000 Server. I am running Windows 2000 Professional with Service Pack 2. I did attempt to install the fix that article Q224378 suggested anyway; but, I got an error message that I was attempting to upgrade a program that didn't exist on my system.

I have also learned that this error applies when copying from either of my SCSI CD-ROM drives, not when copying from hard disks or floppies.

Any Suggestions?
 

A:[Solved] Cannot copy file: Cannot Read From the Source File or Disk

6 more replies
Answer Match 69.72%

Hi All
I have a rather large file system with lots of folders & subfolders. When I want to save previously on Xp operating system I'd search in explorer open the folder I want then copy the address (e.g c:\customer records\client name\job address).
In windows 7, when I copy the folder address i get this "search-ms:displayname=Search%20Results%20in%20electronic%20files&crumb=location:S%3A%5CSEQ%5C011_Estimating %5Celectronic%20files\CHERMSIDE , 17 smith ST"

As you can imagine I cant paste that into a save as field and expect it find the folder location.

Does someone know if it can do what I want? keeping in mind this is about time saving and productivity exercise so I need a simple solution. It is also on a work computer so a lot of settings are locked.

Appreciate any help

A:Copy file address after doing a file search in windows explorer

Find solution myself
Hold down shift right click and select "copy as path"

1 more replies
Answer Match 69.72%

Hi Guys,

I want to make one batch file which daily copies yesterday's files from one folder & paste it to another folder.

I.e.
C:/111 folder has following files.
1.zip had yesterday's date
2.zip had yesterday's date
3.zip had last sunday's date

now, when i will run batch file today, it only copies 1.zip & 2.zip & move to another folder C:/222

So C:/222 contains following
1.zip had yesterday's date
2.zip had yesterday's date


Please note , i have to run this batch file daily which should not require any changes.

More replies
Answer Match 69.72%

Hi all,

Please help!! I'm having a problem to copy some files from a folder.
My folder have lots of files and is there any way for me to write a batch file to copy only files according to "date modified"? For example last week files or yesterday files.

Please help!! Urgent!!!
Thank you.
 

A:Urgent!! Copy file by date modified using Batch File.

Take a look at XXCOPY: http://www.xxcopy.com/index.htm
 

2 more replies
Answer Match 69.72%

Does anyone know how to write a script that would specifically
copy a file "File.ext" to the clipboard and paste it to this
"My Script.vbs" file?

I do not mean editing the VBScript file. I currently right click
"File.ext" select "Copy" then right click "My Script.vbs" and
select "Paste".

I would like to know if I can do that with a script. I have included
an example of the code used in "My Script.vbs" I have chosen these
file names and directory paths to use as examples for my post.

I thank you for reading this.

My Script.vbs
Code:
On Error Resume Next
Const OverwriteExisting = True
Set objArgs = WScript.Arguments
Set objFSO = CreateObject("Scripting.FileSystemObject")

If objArgs.Count < 1 Then
WScript.Quit
End If

For I = 0 to objArgs.Count - 1
Arg = objArgs(I)

objFSO.CopyFile Arg, "C:\Desktop\", OverwriteExisting
objFSO.CopyFile Arg, "D:\Desktop\", OverwriteExisting
objFSO.CopyFile Arg, "E:\Desktop\", OverwriteExisting
objFSO.CopyFile Arg, "F:\Desktop\", OverwriteExisting
objFSO.CopyFile Arg, "G:\Desktop\", OverwriteExisting

objFSO.CopyFolder Arg, "C:\Desktop\", OverwriteExisting
objFSO.CopyFolder Arg, "D:\Desktop\", OverwriteExisting
objFSO.CopyFolder Arg, "E:\Desktop\", OverwriteExisting
objFSO.CopyFolder Arg, "F:\Desktop\", OverwriteExisting
objFSO.C... Read more

A:Solved: Script to copy and paste a file on to a VBScript file.

This is what worked for me:
I converted the vbs file to an exe file using ScriptCryptor.
I use a script to open the file I want copied using that exe file.
 

1 more replies
Answer Match 68.88%

Hi,
I am new to batch files and have read up a little on xcopy and robocopy. 
We currently have a folder which new builds are copied and compressed to .zip files and stuck in a  folder. Dozens of zip files are created every day
What I want to do is the following:

I want to copy the newest zip file from folder 1 to folder 2 and extract it. 

What is the simplest way to find and copy the newest zip file considering multiple zip files are created each day?

A:using a batch file i would like to copy the newest file to a new location.

Try this:
@echo off
for /F "delims=" %%a in ('dir  /b /od "d:\My Files\*.zip"') do set Youngest=%%a
xcopy /y "d:\My Files\%Youngest%" "Folder2\"

3 more replies
Answer Match 68.88%

Hi,
since about 10 minutes, I do get the error-message, "while trying to finish a dowloald and after it reached 100% and tries to write the file on the harddrive"

cannot copy file: Cannot read from the source file or disk

Anyone any ideas what the problem could be? It;s my C drive and everything else works wihtout problems.

OS WinXP Pro

Thanks
wizzle2003
 

A:Cannot copy file: Cannot read from the source file or disk

What are you downloading with? Do you have any history cleaner? Like HistoryKill or Windows Washer?
 

2 more replies
Answer Match 68.88%

I have the game 'Crysis' on two backup DVD's. I had to put the installation files in a .rar and split them so I could back it up (I downloaded the game digitally from EA)

So when I insert disk 1 and try to copy 'Crysis.part1.rar' to D:/Crysis (D: is my data drive, C: is strictly the OS and maybe 2 or 3 applications installed on it) it copies most of it, but when it gets to '5 seconds remaining' it comes up with this error. It takes like 6 minutes to copy it and then it errors out when it's almost done! I've tried 3 times and the error popped up every time. The disk is spotless... I mean it looks brand new. Not even a speck of dust or any smudges at all.

Why am I getting this error?? I don't know what to do! If I can't copy it I'll have to redownload the entire 6gb installation package from EA, which will take probably 4-5 hours.

Please help!

Additional file info from within the error window:
"Can't read from the source file or disk."
Name: Crysis.part1.rar
Size: 4.37gb (4,588,544KB)
Date Modified: 11/2/2009 12:25PM

Other additional info:
I am running Windows 7 Ultimate x64
I have all the latest updates via Windows Update
There is only one account on this computer, mine, and it has full administrative privileges
 

A:Copy File: Can't read from the source file or disk.

6 more replies
Answer Match 68.88%

I'm currently using Richcopy to move about 4TB worth of data from our colo facility (1000 miles away) to our office. And that data also gets routed overseas first before coming back (don't ask). Needless to say, connectivity while not bad, could be better.

The small files are zooming right along, the issue is the larger files (the ones that are hundreds of MB or even several GB).

From time to time, I briefly lose network connectivity for a second or two, when that happens, the files currently being copied abort and once connectivity is restored, Richcopy just moves on to the next files. So when Richcopy advertises that it 'resumes', it seems it is talking about resuming a file copy queue, and not resuming partially copied files. Those have to start over from the beginning.

Is there a tool similar to Richcopy with the functionality I'm looking for?

Thanks!

A:Need a file copy recommendation with partial file resume

I'd look at some of the Download Manager choices on this list found by Google Search:
https://www.google.com/search?site=&....0.sI5DpbJXr1U

8 more replies
Answer Match 68.88%

I got an error message when trying to drag an attachment from outlook to paperport: Cannot copy file: "Cannot read from the source file or disk".
It works fine if I drag from Outlook to my desktop, then from desktop to Paperport. But it does not work from Outlook to Paperport directly.
Can anyone help? Thank you
 

A:Cannot copy file: cannot read from the source file or disk

Sorry, I can't answer your question directly but as an alternative can you copy and paste using Control + C and Control + V or other method?
 

1 more replies
Answer Match 68.88%

i have a .jpg file attached to an email: can i copy the .jpg file to a file/folder ? someone took a picture of me using an iphone, then he uploaded it to my email; i'm trying to make a backup copy, get it into a folder, so i can upload it to facebook; thanks

A:copy .jpg file (email attachment) to file/folder?

Save the attachment to what ever folder you want.

2 more replies
Answer Match 68.04%

Hello,

Quite often I receive a PDF file by email (e.g. a monthly bill) that I want to save with similar PDF files (e.g. former bills of the same company) in the same folder.

To avoid to write the complete file name, in the "save as..." menu I click on a former file with similar name (e.g. phone_bill_2013_January), then adapt the name (e.g. phone_bill_2013_February).

When I click "save", windows vista says "files already exists" although I modified the name.

I saw on www.vistax64.com that this problem was already discussed:
...vista-general/76009-get-file-already-exists-trying-save-new-file-after-rena
and
.../vista-general/55505-save-file-already-exists

and it seems that this bug was already fixed.

How can I fix it on my computer?

Thank you very much for help.

A:Get "file already exists" on trying to save a new file (after rename)

Hello Abramo, and welcome to Vista Forums.

The issue is that it uses the original name when comparing files in the save to location. It doesn't actually get renamed until it's saved.

You should be able to use the "Copy, but keep both" option like below for this work. Worse case, you'll have to rename it again if it does keep the new name after being copied.



Hope this helps,
Shawn

1 more replies
Answer Match 67.62%

Help me make a batch file that copies a file from one computer to another computer in a network...

PC1 = Source
PC2 = Destination

I want to copy a file from PC1's Drive E: to PC2's Drive E:

A:How to copy a file from 1 pc to another pc in network using batch file

Yes I want to copy files from PC1 to PC2 over the network...

PC1's Drive E:\Online Games\Battle of Immortals\Battle of the Immortals
to
PC2's Drive E:\Online Games\Battle of Immortals\Battle of the Immortals

9 more replies
Answer Match 67.62%

Hi, I have a file with no extension called simply, D:\file

I want to copy this to multiple locations, eg e:\file , f:\file

sometimes there will already be an older version, so I would like it to overwrite the file.
Is this possible with a bat file?
I tried a simple copy command in a bat file, but it wouldn't copy at all.

thanks.

A:BAT file to copy file to multiple locations?

Have you tried 'xcopy' with the /y flag. This should copy the files and overwrite without it prompting you.... Would this suut your needs?

5 more replies
Answer Match 67.62%

I have a user for whom shares and permissions on the server are working just fine.
I have another user for whom something is screwed up somewhere.
I've taken a directory that is shared and I've looked up the share and permissions for both. Identical.
But do this for 3,000 files/directories in a tree, no can do.
I'd like to take all the share and privilege information for Suzie and give them to Tom.
Can do?

A:Copy shares and permissions on file x to file z? Is this possible?

What usergroups are they assigned to? Also you say you have a server? Is it a domain controller?

I would copy the usergroups that are assigned to Suzie and give them to Tom rather than editing the share permissions themselves.

Just my opinion,
Josh

3 more replies
Answer Match 66.78%

Does anyone know how to do this? I checked MSDN, but I didn't find anything useful.

I don't really want to have to use some sort of package, as this project is supposed to be stand-alone.

Thanks.
 

A:Rename file in VB

6 more replies
Answer Match 66.78%

Hey guys

I need to rename an ISO files. I have 2 files which I need to mount, this isn't an issue as I'm using Virtual Clone Drive. The installer looks for a file name "DVD1" and then when that part of the installation is done it looks for "DVD2" however on the 2nd ISO file when looking in My Computer it isn't called "DVD2" it is just an assortment of numbers. Unlike the first file which was called "DVD1".

So the installer can't find the file I'm guessing, and I don't how to rename the mounted file to be called "DVD2".

I am in need of help as this has got me stressed! I've looked all over and haven't found anything useful.
 

A:Rename ISO file

It sounds like the label in the ISO file needs changing to 'DVD2'. To do that is to re-create the ISO image as a new file.

1. Mount the old ISO using VCD.
2. Create a blank folder on the hard disk
3. Copy contents of the mounted ISO to the new blank folder
4. Load a CD/DVD burning program that can save to an image e.g. Burn and start a new project or image
5. Add the contents of the folder with the files in it to the project
6. Set the label of the new project/image as DVD2
7. Write/burn the new project to a new ISO file.
 

3 more replies
Answer Match 66.78%

Ive never had any probs renaming files before, but when Ive tried it tonight ive got the message "If you change a file name extension the file may become unsuitable, are you sure you want to change it" Any one got ideas on how I can solve this.

A:File Rename

In Windows Explorer, go to Tools, Folder Options, click the View tab and make sure that "Hide Extensions for Known File Types" is checked. If it isn't, you will get the warning message.

3 more replies
Answer Match 66.78%

I have a question for my homework. Which is why is it not possible to rename a file with the same name as another file already in the file? Hopefully someone knows
 

A:Why is it not possible to rename a file with the same name as another file?

we do not help with homework on this forum,
the idea of the homework is for you to research and find the answers , not to post a question and get someone else to answer for you.
noone else will be at the exam, and so you do need to learn your self

closing post
 

1 more replies
Answer Match 65.94%

Ok, I finished downloading something, and I renamed the extension. I dont know why, but anyway I tried to rename it back to its original but it thinks that the file is in use. I tried making a copy, reset the comp, shut the comp down and ending processes and stuff but nothings working and i dont know what to do. Please help someone!

A:Cant rename or delete file

Hmm... I suggest you get Delete Dr. http://freewarearena.com/html/Downlo...s/id=1845.html
And delete the file with that. Then redownload and don't screw with the filename.








(w00t! Hundredth post)

4 more replies
Answer Match 65.94%

Not sure if I have the right forum, but this is my problem.
I recently installed limewire, and ive found a file in my download section that I cant get rid of !
It wont alow me to either rename it or delete it. If I right click it, it just gives me the option to play it.
How do I get rid of it ? Ive tried the "killbox" program, but it refuses to even see it !
Any other poptions ?
 

More replies
Answer Match 65.94%

I have received an email with a file extension of .xlr (Microsoft works). I want to change it to .xls (Microsoft excel. How would I do this so that I can work on the spreedsheart in excel. I'm a newbie. Please be specific. I'm using xp.
 

A:rename an file extension from .xlr to .xls

6 more replies
Answer Match 65.94%

Hey,

I have this .avi file on my computer that I want to DELETE! The thing is right-clicking or pressing F2 (to rename) - there is no freeze/slow-down in this process... but when I rename or try to delete the file (delete button - then press yes, drag to recycle box, right-click then delete then yes) - then that window just freezes. You can do other applications in the computer etc... but that window freezes and does not change. I tried opening another window to see if that file has changed names/been deleted (without closing the frozen window) and the file is still untouched there

NO program is using that file I am 100% positive on this (almost 100%) and it is not an incomplete file... I can delete everything else and any other types of files of my computer

Any ideas?

A:Can't Delete/rename File

Download, and install Unlocker: http://ccollomb.free.fr/unlocker/Restart computer.It'll install under right click menu.Open Windows Explorer.Navigate to offending folder/file.Right click on a folder/file. Click UnlockerSelect Delete from drop-down menu:Click OK.A folder/file will refuse to be deleted, but Unlocker will give you an option to delete on reboot:Click Yes.Restart computer.==============================================================If the above doesn't work, try...LockHunter: http://lockhunter.com/FileASSASSIN: http://www.snapfiles.com/get/fileassassin.html

4 more replies
Answer Match 65.94%

Dell Inspiron, Win Vista Home Premium. Trying to replace a suspected corrupt .dll file. Copied a "clean" version of the file to System32 directory with an amended file name. Tried to change the corrupted files' name so I could then change the "clean" version to the appropriate file name. When I attempt to change the corrupted name I get a message saying I need permission to make the change. It allows me to change the "clean" files name no problem. I am logged on as administrator. Only one account on this computer and that user name is the administrator. Any ideas on how to proceed? Oh, by the way, I HATE Vista. I have experienced more trouble with this OS than any I have used. Thanks for any help.
 

A:Solved: Can't Rename .dll File

6 more replies
Answer Match 65.94%

Hello,,,

Thanks for your advise, time, and help!!!!

Would like to rename file names with the following format:

{2005-05-09} (01).ext

Where the following characters are part of the filename:

{
}
-
SPACE
(
)

In this case several files could/would be generated in the same directory and the (01) would increases as files are created.

Would like to remove the following characters from the filename:

20
{
}
-
space
(
)

Bascically a process that would allow pattern matching and replacement to include the space character.

Their seems to be several available around the Internet but I cannot find one that will allow this to be done using either wild card for filenames or any input file that can enumerate the filenames to be renamed.

Would like to do this in a batch command (.bat) line that can be manually started or scheduled to run using either a .exe or a .bat file (if possible).

Thanks for your time, advise and help!!!

Jerry
 

A:File rename in Windows 9x, etc.

15 more replies
Answer Match 65.94%

Hello, Is there a way to change the name of the system file in C:\Documents and Settings? The reason is my sister in-law bought a computer with her ex-husband and wants his name taken of her computer. The folder I am referring too is the one that has the following folders in it: Desktop, Cookies, Favorites, My Documents, Start Menu, and User Data. From the research I have done, it seems you can not do it, even in the Microsoft site, makes me think a person can not do it safely, unless you reinstall Windows. Maybe you folks at B.C. have a solution other then a reinstal, she, unfortunately, dose not have the original disk. Thank You and I hope everyone has a very Merry Christmas Wink

A:Rename A System File

Generally it's very difficult to do - but it should be possible.

First, copy the information from that profile that you want to save.
Go into the properties of the folder and remove the Read Only attribute. You may have to use the Command Prompt to remove the "system" attribute. And, you may have to mess with the security settings to give yourself permission to do this.
Then try delete the profile in User Accounts.
Then use the Recovery Console to delete or rename the offending structure (I haven't tried this part). There are also various utilities for renaming/moving/deleting "protected" files.

8 more replies
Answer Match 65.94%

I am trying to rename some files and Windows is apparently not cool with that. I'll type out the name I want the file to have, hit enter, and watch as the name goes back to what it was before. So far this has happened on Word and PDF files. I restarted my computer (the ol' tried and true) but that didn't help any.

A:Not accepting file rename

Hi,
Are your permissions in order [they are your files and you are the administrator]?
Are you using valid names with no forbidden characters?
Can you give us an example of the existing filename and the desired filename?
Keep us posted
 
Dick

10 more replies
Answer Match 65.94%

it says the above file name is invalid when i try and select it and delete it, even with a file removal program

Any ideas on how to get ride of this file. Worried about my disk possiblyl being corrupted.

A:can't delete or rename file

Have you tried to delete it in Safe Mode?

Also, what removal tools have you tried as Unlocker is pretty good.

Also, was the file downloaded via a P2P program?

8 more replies
Answer Match 65.94%

I got a message when I tried to rename a file. How can I fix this so that I can be allowed to make changes to the file without any messages? The message is below:

"You need permission to perform this action. You require permission from system to make changes to this file."

A:Got Message that I Cant Rename a File - HELP

Hmm sounds like a system file that is in memory running. You could stop it from running then perhaps you can change it. Otherwise you'll have to take ownership through properties/advanced properties I've had to do the with my systyem32/drivers/etc/Host file. That was just to make changes. I guess though if you are the owner of the file you could change the name of it.

3 more replies
Answer Match 65.52%

rename files
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.00
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.01
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.02
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.03
...

to

Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.000
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.001
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.002
Nasha.Rasha.2010.720p.BluRay.Rus.HDCLUB.mkv.003

basically append a zero after the last . in the file extension

so far i got

ren *.mkv.0? *.00?

which isnt working

other ideas: write a for loop that iterates thru each file and renames it to *.00i where i is the counter
thanks

A:rename multiple files, bat file

You may wish to consider Batch File Renamer free download. Batch renames files or folders in a selected directory. File names can be completely changed (incremental number, rename with meta variables), or edit...

4 more replies
Answer Match 65.52%

Not sure if this the correct forum but here goes......

My daughter (gotta love 12yr olds) saved a .doc to the desktop named: con.withtravis.doc

I can't delete, move or rename the sucker! It says something close to "Access denied, file name too long or invalid" when I try *anything* in windows. I rebooted in dos and tried to del....access denied!
Turns out the "con." is the culprit. It's a reserved device name.
CON is short for console....good old dos.

I found this (actually a friend did) command suggested ---

del \\.\c:\dir\con.c

However for me
dir would be windows\desktop
and con.c would be my file's name

Any thoughts or comments greatly appreciated
 

A:Can't delete, rename or move this file

Interesting -- windows won't even let me name a document with that name!!

I assume you've tried going into dos, changing to the desktop directory and then deleting the file using wildcards? Something like

del co*

Assuming that you don't have any other files in that directory which begin with "co"

?
 

3 more replies
Answer Match 65.52%

Hello, i am new to this forum. i have arrived here looking for a solution to this problem. i have some .avi files i wish to organize/rename/move. however if i try any of those things i get a message "file in use close all other programs.." blah blah if you don't know what message i'm speaking of you prob cna't help anyway.

so i restart hoping it won't open that prog, but it does, so i go into task mngr and close all uneccessary processes, but i still get this message. any ideas?

also i've been reading posts, lots of talk about hijackthis. what is it, whats does it do, and where can i get it?
 

A:File rename/move prob

I dont have a direct link for hijackthis right now becus im not using a pc, but hijackthis records all your processes and registry keys and makes them in text forum so you can post them up so people can see it, and tell you what my be viruses, or so on.

My suggestion if you have already tried closing suspicious items in your processes is to go to http://housecall.trendmicro.com
its an online scanner for computers and its free. Because I feel that if you havent open the files, then something is running in your processes that you dont notice.

Just my 2 cents
 

3 more replies
Answer Match 65.52%

I have multiple folders where I am trying to rename the file extensions in each.

ren *.tif *.gif This will only work in the current folder but I need all files to be changed from tif to gif.

Any help is greatly appreciated...
 

A:Batch rename file extensions

6 more replies
Answer Match 65.52%

I have a spare drive where I keep all my music. When I open that folder and right click on a song to rename or delete the folder, it just shuts down and takes me right back to desktop.
Normally when you right click on a song you get all kinds of options like scan with antivirus,create shortcut,rename,delete and so on. Any help or suggestions? thanks
 

A:Solved: cant rename or delete file

7 more replies
Answer Match 65.52%

Hi guys, does anyone know how I can rename a file if I don't know the original filename?

I have a new file coming into a folder every day, it's the only file in that folder as it automatically gets cleared every night at midnight. What I want to do is rename that file to something and copy it to another location before the clean out happens. The filename changes every day to match the date so I can't know the filename beforehand. The filename coming in has this naming convention: filename_day-month-year (filename_25-02-2009).

Any help would be appreciated.

A:Rename a file if I don't know the original filename?

if you don't see the filetype like;
"This_is_a_file"
you should be able to just rename it

but if you see a file like this
"File111.html"
make sure to keep the ".html" part of it the same after renaming it

5 more replies
Answer Match 65.52%

Does anyone know of a good program (ideally inexpensive or free) or way to rename a small or large group of files in Windows Vista & 7 according to various criteria, of course without renaming each file one at a time? Thanks.
 

A:Bulk File Rename Software

Thanks for the fast response. Both of these look promising. I will check them out more later & pick one.
 

3 more replies
Answer Match 65.52%

Hello, i am new to this forum. i have arrived here looking for a solution to this problem. i have some .avi files i wish to organize/rename/move. however if i try any of those things i get a message "file in use close all other programs.." blah blah if you don't know what message i'm speaking of you prob cna't help anyway.

so i restart hoping it won't open that prog, but it does, so i go into task mngr and close all uneccessary processes, but i still get this message. any ideas?

also i've been reading posts, lots of talk about hijackthis. what is it, whats does it do, and where can i get it?
 

A:File rename/move prob

I dont have a direct link for hijackthis right now becus im not using a pc, but hijackthis records all your processes and registry keys and makes them in text forum so you can post them up so people can see it, and tell you what my be viruses, or so on.

My suggestion if you have already tried closing suspicious items in your processes is to go to http://housecall.trendmicro.com
its an online scanner for computers and its free. Because I feel that if you havent open the files, then something is running in your processes that you dont notice.

Just my 2 cents
 

3 more replies
Answer Match 65.52%

I am currently running Windows XP and am trying to install Windows 8 Pro upgrade which i have recieved the DVD yesterday problem is when it checks my system i then get the message Change the folder or file name of C:\ProgramData on drive C:
Easier said than done it is a folder that won't allow itself to be renamed!!
I assume I've chucked ?50 down the drain cheers Microsoft

A:Can't install as need to rename ProgramData file

As you have Win XP installed, clean your HD drive
SSD / HDD : Optimize for Windows Reinstallation - Windows 7 Forums

Than do a clean install.
Clean Install - Windows 8

5 more replies
Answer Match 65.52%

sounds simple - but under users there is public and myname
all i want to do is change myname.
the little folder icon has a lock on it
home premium version
have changed computer name and account name.
thanks all

A:rename user account file name

This may help

http://www.sevenforums.com/tutorials...-accounts.html

5 more replies
Answer Match 65.52%

I have several "Discography" folders for my music. That is to say that I arrange these folders by artist name, within which I arrange subfolders by year of album release.

So, let's say for my Van Halen folder, I'll have various subfolders listed as such:
[1978] Van Halen
[1979] Van Halen II
[1980] Women and Children First
[1981] Diver Down
[1983] 1984

...so on and so forth.

Every so often, I'll have a bunch of folders that are named accordingly:

(1985) 5150
(1988) OU812
(1991) For Unlawful Carnal Knowledge

See the difference? I want to batch rename the parentheses into square brackets. But with several thousand such folders, I want to be able to just indicate that I want the "()" to be changed to "[]".

Is there any software or otherwise some sort of Windows XP shortcut that I can use to do that?

Thanks in advance!

A:How Can I Batch Rename File Folders?

Anyone...?

2 more replies
Answer Match 65.52%

I have a bunch of files/folders that were recovered from a failed disk drive. Some 80% of the files are good but many are named with characters outside the standard ANSI set. I am unable to rename the files or delete them using standard Windows commands. Is there an alternative ?
 

A:Unprintable characters in file name - how to rename ?

9 more replies
Answer Match 65.52%

I need a simple batch script to remove spaces in file names and replace with a dash (-) eg:

This File Name.file

This-File-Name.file

Not sure how to program this, any help appreciated.

I can?t install a program to do this, it needs to be a script.

Thanks

A:Bulk file rename script

Try This

8 more replies
Answer Match 65.52%

How can i rename a vista widows\system\dll file. I am administrator.

A:rename a vista ultimate sys file

Hello Isnoend09,

You will need to take ownership of the file first, then you should be able to rename it if it is not in use.

Hope this helps,
Shawn

1 more replies
Answer Match 65.52%

I have a problem here, a small problem but i'll ask anyway.

I have 1 video file ( .MKV ), 398mb, which i put in my desktop recently and i just noticed the file cant be renamed or moved because it says the file is open in Windows Explorer. This never happened before, i have like hundreds of similiar video files which same file format, and this video file is the only one giving me problem.

So what i did was, i open the Task Manager, i see there's 2 Explorer.exe in running processes, so i end task for all Explorer.exe's .Then i start the process again, but nothing changed. I still cant rename/move the file.

I also taken the ownership of the file, make sure all the permissions is correct and still to no avail.

So i download Unlocker, and managed to kill all the processes that locking the file from being renamed. I was able to rename/move the file, but only for few seconds before the process Explorer.exe 'using' the file again. So each time i need to move/rename the file, i have to do it using Unlocker. But what concerns me was, i saw alot of Explorer.exe with different Handle locking the file each time i view from Unlocker.

At first, i saw explorer.exe and the other one is Explorer.EXE ... im not sure if it makes any difference, im telling anyway just in case. But there's only one explorer.exe in C:\Windows when i browse the folder. I already upload and scan the file at Jotti File Scan and it was clean.

So any idea guys?

Windows 7 Professional x64
Kaspersky PURE

A:Cannot Rename/Move .MKV File Because Explorer.EXE is using it!

Hello and welcome.

I'll do my best to help you fix this up.

Before providing you with the technical fix, I'd like to ask you to restart your operating system and try to delete the MKV file right after; this may be helpful; if it wasn't, then follow these steps to fix this up:

* Press Alt + F, from the Windows 7 Explorer interface
* Select Tools
* Select Folder Options
* Select the View tab
* Check the box that says "Always show icons, never thumbnails"

You should be able to delete the file now.

Please give this a try and let us know if it was helpful.

13 more replies
Answer Match 65.1%

Whenever I try to drag and drop files from one of my music folders to my "removable disk" (mini mp3 player), i get this error message: Cannot copy >file<: cannot find the specified file. Make sure you specify the correct path and file name. This used to work...so I have no idea what is going on with it. Could someone give me a heads up as to what the crap is going on?
Thank you!

~Lizzy
 

A:Cannot copy >file<: cannot find the specified file...

Hi
Have the names of any of the files been changed?
 

1 more replies
Answer Match 64.68%

How can I work around the following rror message "cannot copy file. cannot read source file or disk". I'm using Windows XP on a Gateway GT 4016

A:error message "cannot copy file. cannot read source file or disk"

Get a new disk or provide a whole lot more details about what you're trying to do and what program(s) you are trying to do "it" with.

1 more replies
Answer Match 64.68%

I renamed Windows/system32/Lsass.exe because I was told it was a troyan.
Now Windows XP loads but freezes before getting started.

Question: How I rename the file back to return the computer to normal.

I tried a Windows XP CD but the Console it doesn't recognize the hard drive.

Is it possible to create a restore CD in ANOTHER computer to boot with the CD and have access to the hard disk so I can rename the file back? and How to create the CD?

Windows XP SP 3 Home version
Compaq Presario V5000

A:How to rename a file if computer doesn't boot?

You could boot up with an Ubuntu Live CD to access and rename that file. That's just one way to do it.
In the future use anti-virus software to scan for and quarantine or delete viruses.

3 more replies
Answer Match 64.68%

I accidently deleted of some stuff in the registry that cause I can't rename folder and the error said "can't find the specified file", I try everything including remove everything and reinstall windows as usual, but I can not do this, because I need media recovery. but when I create the recovery disk the error appear "The system could not find the environment option that was entered". please help  

A:can't find the specified file when rename folder in windows 8

Is that Windows 8 or Windows 8.1?
 
Create your installation media here: http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media
 
Even if you have not updated to 8.1 I would expect the above to work, as 8.1 was after all a free update.
 
However, I have not tested and have not Web searched for results.

4 more replies
Answer Match 64.68%

Need to share folders across a network such that specific users (defined by me) have permission to read, create new sub-folders + files and modify them, but not delete anything. I set up file sharing using settings under Advanced button in Security tab: ALLOW for everything except Delete Subfolders & Files, Delete, Change Permissions and Take Ownership. These are under DENY. I have tried with and without inherit permissions, yet the users I have given these permissions to are able to create files and folders but cannot change the name from "default folder" or "new text document.txt". If I remove the DENY then they do have permission to rename, but also to delete, which I don't want to give. AM running Win XP Pro SP3.
Any help appreciated!

A:file sharing permissions - delete/rename

What's the difference between "modify" and "delete"? Seems to me that if they can do one, they can do the other.

3 more replies
Answer Match 64.68%

Hello,

I just joined and looking forward to learning.

I just realized today that there will be files I have now or will be creating, consisting of "Office" Kingsoft Office, digital photographs, etc., files which I would prefer not to have my name showing in the file properties information, such as what's shown in properties>details>author. System administrator, PC's model name administrator, etc., include my name. My name is spelled there the same as what's shown during the windows 7 logon screen when it asks for the password.

I've had this PC for a few years and I assume I set what my administrator name is when I first set it up. I also assume every file I ever created since has my name shown in it that way. Security issues being what they are today, this may not be a good idea so I want to change my name in the file properties or even better, not have any name at all. I'd also rather be able to do this individually on a file by file basis for some files I may send to people I don't know well or their security habits.

How do I change or remove my name from file properties information?

Thank you.

A:How to rename author in individual file properties.

In the properties under details there should be an option that removes all that information...

However, not currently at a computer to see myself.

9 more replies
Answer Match 64.68%

After searching the games forum, it seems that the only way to play Pogo games is to rename the hosts file.

Question: Is that going to open the door for every dialer, hijacker, etc. imaginable?

I love not having to see the obnoxious flashing ads and so forth but I'd really like to play those games.
 

A:Solved: Dangerous to rename hosts file???

8 more replies
Answer Match 64.68%

Since 2 days, in a certain folder, I cant rename, move or delete folders or files. Now, it has spread to my desktop as well. If I rename a folder, even a new folder, the name changes ''magically'' within seconds to restore to its previous name. If I move the folder or file, it comes back and if I delete it, it restores. I tried to make a system restore, even format (!), the problem persists. HELP?!

A:Can't rename, delete or move folder or file

what are the properties of the folder?

8 more replies
Answer Match 64.68%

I ran Combofix trying to regain control of my old Dell XPS Gen 5.
The only problem is that to took all of my programs and dumped then into a quarantined folder with a .vir extension.
I tried to fix it with advice on another forum and they said you have to convert them all back manually.
Is that really true?
Why won't there be a batch converter to restore them to what they were before Combo fix problem occurred?
I still think it's infected, but at this point I'd rather get all my files back first.
The infection seems to reside in the svchost process somewhere... as it sucks up resources.
I've taken it off the net till I can get it straightened out.

Any help would be much appreciated.

A:Is there a batch file converter to fix cmobo vir rename?

Please read the following; ComboFix usage, Questions, Help - Look here - http://www.bleepingcomputer.com/forums/topic273628.html .If you have a ComboFix log, you can post that, along with a description of your problem, at BC Virus, Trojan, Spyware, and Malware Removal Logs - http://www.bleepingcomputer.com/forums/forum22.html .If you have no CF log and want to initiate a new topic in the VTSMR forum without supplying a ComboFix log...you can follow the directions provided in Steps 6-9 of Preparation Guide, Before Using Malware Removal Tools and Requesting Help - http://www.bleepingcomputer.com/forums/topic34773.html .Louis

1 more replies
Answer Match 64.68%

Well I'm using Windows 2000 and I have this file which I've been trying to delete for a long time and whenever i TRY A MESSAGE POPS UP SAYING 'Cannot delete <file name> cannot find specifeid file Make sure you specify the correct path and filename'. Please can someone help?
 

A:(Solved) I can't delete/rename this corrupt file

16 more replies
Answer Match 64.68%

I have tried everything to sort this issue out. I am trying to install a patch for pro evolution soccer 2013 and as it is installing i get the error message in the title, i have tried changing take ownership options, i have looked at tutorials on it and have even done the take ownership hack but i have get the same error message when installing.

I even have issues with you dont have permission when move a dll file to the pro evolution soccer game directory. I have to restart for it to work and once i quit out of the game the dll disappears and when i try to take it out of the rar file i get same issue.

Im tearng my hair out.

A:an error occurred while trying to rename a file code 5.

Have you tried right clicking the patch.exe and click "run as administrator"?

2 more replies
Answer Match 64.68%

Hi All,

I am trying to write a batch file that will rename all the files in a folder with a date and time stamp at the end of the file. For example if the file name is

123456.txt

I want to rename that to

123456_20100624.txt

This is what I got so far.
Code:

For /F "tokens=1-3,5-8 delims=/:. " %%a in ("%TIME% %DATE%") do (set _dt=%%g%%e%%f%%d-%%a%%b%%c)

PushD C:\test
FOR /f %%a in ('dir /A-D /on /B "*.*"') DO (rename "%%a" "%_dt%.txt")
PoPD

I am trying to do a directory listing and then to rename them. But I don't know how to hold the name of the file and the date at the same time to be added to the filename. Any help is appreciated!!. thanks!
 

A:Batch File rename multiple files

7 more replies