Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Files with absolute paths links - How to move them?

19 Jun 2015   #1

Windows 7 32 bits
Files with absolute paths links - How to move them?

Hi guys,

We have been using a labeling software from a laptop with Windows Vista for a long time. In that laptop we have thousands of labels stored that we open and edit with such software. Those labels contain logos of companies as absolute paths, that is C:\...\something.jpg , instead of embedding the image on the file.

Now we have installed such software on newer PCs and moved those files to the new PCs. Consequently, the labels appear with the links to the logos broken.

I don't know how to manage that.

Can you give me a hand?

Kind Regards,


My System SpecsSystem Spec
19 Jun 2015   #2

Windows 7 32 bits

Just to say those images are on any folder of the C: unit from the laptop.
There is no a folder that contains the set of images.
My System SpecsSystem Spec
19 Jun 2015   #3

Windows 7 Ultimate x64 SP1

Do you copy to the same folders?
Did you check permissions and ownership?

Or perhaps your program on the old machine keep some paths and other information in some settings file of the sort? Did you check AppData, ProgData etc folders for where the program may keep them?
My System SpecsSystem Spec

19 Jun 2015   #4

Windows 7 32 bits

The path that contains the labels files in the laptop can be the same as in the newer PCs. No problem with that. In fact, it's one folder in the desktop.

However the path to the images must be different than in the laptop. Because of malpractice, each image is on a different path on the hard drive from the laptop.
My System SpecsSystem Spec
19 Jun 2015   #5

Windows 7 Ultimate x64 SP1

I have hard time visualizing to be honest, perhaps because I am not very familiar with such software.
Can you post some screenshots with some explanation? Screenshots and Files - Upload and Post in Seven Forums

Why does the path must be different?

There are 2 sets of files in question, right? A label file and an image file that it is linked to. You can copy the labels to the same C:\folder without issues. Why can't you copy the images to the same places as they were in the original install?
My System SpecsSystem Spec
19 Jun 2015   #6

Windows 7 32 bits

I've discovered that this type of file is actually an XML, which is easy to read by an application!

So now I would need some scripting that makes the following:

1.- I insert a pendrive to the laptop
2.- Create a folder on the parent folder of the pendrive
3.- For each label file on the laptop,
copy the label file to the just created folder of the pendrive
look for any path inside that file. For each path
Copy the file that is pointed by the path to the just created folder of the pendrive
Rename such path on the new file from the pendrive to W:\name-of-the-image.jpg

4.- On the new PC: create the W: unit drive.
5.- Copy all the files from such folder of the pendrive to the W: unit

I think this would work, right?
My System SpecsSystem Spec
19 Jun 2015   #7

Windows 7 32 bits

Sorry, Gokay, I didn't see your post.

There are two different types of files as you say: the label files, which are actually XML files. These files have some fields that are paths.

The second type of files are images, which are actually jpg files.

On the first type of files, it is written the path to the second type of files

Sorry for my english. I didn't know how to explain it.
My System SpecsSystem Spec
19 Jun 2015   #8

Windows 7 Ultimate x64 SP1

Hmm, yeah I guess the procedure you laid out should work.
It should be easy to manually do one or two and see if everything is alright.
Then someone here can make a script for you I am sure.
My System SpecsSystem Spec
19 Jun 2015   #9

Windows 7 32 bits

Gokay, I really appreciate your help.

I will test it with one or more files and share the results.
My System SpecsSystem Spec
20 Jun 2015   #10

Windows 7 32 bits

Ei guys,

1.- I've copied all the .itf files into my pendrive.
2.- After that, I've copied one .jpg image to the pendrive.
3.- I've opened one .itf file from the pendrive with notepad and changed the path to the logo, so now it points to the just copied .jpg image on the pendrive.
4.- I've opened the just modified .itf file of the pendrive from another PC which has the labeling software installed and the newly copied jpg image appears as the logo in the label. So that method works!

Now I need a script that makes the following:
Parameters: [Input folder], [Output Folder]
(I copy all the itf files to my pendrive before executing this algorithm, so we don't loose the initial files in case of an error)
For each .itf file in [Input folder] and its subfolders, search for any tag called Filename inside the itf file and copy such file to the output folder. Then change the Filename tag of the itf file to [outputfolder\image-name.jpg]

Here is a real example of a Filename tag in a .itf file:
<FileName>C:\Users\USUARIO 1\Desktop\colos create\LOGOS\avidur.jpg</FileName>
And I attach a real itf file, so you can have an idea of what I'm looking for.
Lineto T03 D12 N.itf.txt

Can you give me a hand for creating such a script?

Kind Regards

My System SpecsSystem Spec

 Files with absolute paths links - How to move them?

Thread Tools

Similar help and support threads
Thread Forum
Odd Files Left Over After SP1 - Can't Delete (Long Paths)
Hi, After installing installing SP1, a folder on my C drive is left over. I am unable to delete it since the path is too long, see attachment. Also, see attached txt file for directory and file info. I can't rename the files either, rename does not even show up on context menu and F2...
Installation & Setup
Symbolic links, how can personal folders move-point to another drive
Hi friends! My question is about symbolic links (janction) One from the reasons to use them is when you are out of space, so you can move folders with a lot of data to another drive e.g music, videos etc... eg. mklink /j "C:\Users\Name\My music D:\Music, so that personal folders point...
Windows 7 stuck 'preparing to move' when trying to move files
I am trying to move files from one external hard drive to another but it has been stuck on 'Preparing to move' 'Time remaining: Calculating. Items remaining: Calculating Speed: Calculating' for 20 minutes now. It has not moved on from that. Google shows only results pertaining to Mac OS on this...
General Discussion
Dos paths and unix paths conversion
I guess this may be a tiny bit off the subject here, but I am attempting this in windows 7. I have a program file manager tool called 'Directory Opus' that is capable of calling windows external programs and passing them the current directory the file manager is sitting on. So far so good. ...
General Discussion
EasyBCD: How to create absolute paths
Hi, My bootable NTFS Test Volume contains just the bootmgr.exe and the G:\boot\BCD file. In the BCD I got something like this: device: ramdisk=\sources\BOOT.WIM,{99051b9e-c748-11e1-b1c7-14dae9e74180} which is a Relative path with its root in G:\ However, this path is wrong as...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:56.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App