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: How do I link files?

05 Aug 2010   #1
Dzomlija

Windows 7 Ultimate x64
 
 
How do I link files?

Before I start, maybe if I explain how it works with Internet Explorer, you'd get a clearer idea of what I want.



With Internet Explorer, when I save a web page to disk, there are four options:
  1. Web page, complete
  2. Web Archive, single file
  3. Web page, HTML only
  4. Text File
If I choose the first option, "Web page, complete", then a file is saved, and a folder is created containg additional resources like images. For example, if I save a web page, this is what I get in Windows Explorer:

Name:  linked_files.jpg
Views: 8
Size:  42.0 KB

Now, if I delete the file named "Shockwave II - Discogs Search.htm", then the folder "Shockwave II - Discogs Search_files" gets deleted also, even if it wasn't selected to begin with. This is expected behavior, and is what I want.

NOW to my question.

The media center attached to my TV gets it's media over the network (via normal file sharing, not Media Player streamed). When using the Media Center for videos, it looks for three files: Videos, Images and Text, like this:

Final Destination 1.avi
Final Destination 1.jpg
Final Destination 1.txt

It uses the JPG file to display a thumbnail preview of the video, and the TXT file that can be used to display such things as movie creaits, description, etc. The actual JPG and TXT files are filtered out of the actual file list, and are not visible, even if the hidden attribute is not set.

Now, to make the Windows Explorer view look the same, I've set the hidden attribute for the JPG and TXT files, so that they do not show in the list of Windows Explorer. The trouble is, sometimes when I move my videos to other folders, I forget to unhide hidden files first, and I therefore don't copy the hidden JPG and TXT files.

What I want to know is this:

Is there a way for me to "link" the associated JPG and TXT files to the AVI within Windows Explorer so that if I move or delete one of them, then others go with it, even if they are not selected?

And I really don't want to have to unhide hidden files every time, or to permanently have hidden files visible.

Even if I need to use the command line to do it, I'd really appreciate any tips anyone can give me...




My System SpecsSystem Spec
.
05 Aug 2010   #2
Kirsch

Windows 7 Ultimate
 
 

IF you move the .htm file in the first example, does the folder move with it?

I dont think you can do this, short of organizing them all in their own separate folders
My System SpecsSystem Spec
05 Aug 2010   #3
Dwarf

Windows 8.1 Pro RTM x64
 
 

Hi Peter,

Probably through a batch file. Here's a rough flow chart (no coding yet):
Code:
Enter filename & source path
Assign variables: v1=filename.avi, v2=filename.jpg, v3=filename.txt
Question: Move, Copy or Delete (M/C/D)?
Reply=M: goto move
Reply=C :goto copy
Reply=D: goto delete
goto question
move: call copy1
delete: delete from source v1, v2, v3
exit
copy: call copy1
exit
copy1: Enter destination path
Read v1 from source & write to destination
Read v2 from source & write to destination
Read v3 from source & write to destination
return
Hopefully this should give you some ideas. It just needs translating into actual working code.
My System SpecsSystem Spec
.

05 Aug 2010   #4
Dzomlija

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Kirsch View Post
IF you move the .htm file in the first example, does the folder move with it?

I dont think you can do this, short of organizing them all in their own separate folders
Yes it does
My System SpecsSystem Spec
05 Aug 2010   #5
Dzomlija

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Dwarf View Post
Hi Peter,

Probably through a batch file. Here's a rough flow chart (no coding yet):
Code:
Enter filename & source path
Assign variables: v1=filename.avi, v2=filename.jpg, v3=filename.txt
Question: Move, Copy or Delete (M/C/D)?
Reply=M: goto move
Reply=C :goto copy
Reply=D: goto delete
goto question
move: call copy1
delete: delete from source v1, v2, v3
exit
copy: call copy1
exit
copy1: Enter destination path
Read v1 from source & write to destination
Read v2 from source & write to destination
Read v3 from source & write to destination
return
Hopefully this should give you some ideas. It just needs translating into actual working code.
I suppose this could work, but what I'm really looking for is a way to link the 3 individual files, so that if I use Cut & Paste from within Windows Explorer, then all 3 files get moved instead of only just the one selected file.

And I've never really been very good at creating Explorer extensions, so even if my compiler could create 64-bit DLLs, I'm afraid I'm out of options unless I can find out how Internet Explorer tags an HTM file as "beloning" to a folder, and vice-versa, so that I can apply the same to my video files...
My System SpecsSystem Spec
Reply

 How do I link files?




Thread Tools




Similar help and support threads
Thread Forum
IP camera not working on TP link router but working on D link router
Dear sir, I am trying to setup an IP camera on my WDR 4300 Router. ROuter is just purchased. The camera says its ready at 192.168.1.100:8080 However when i open the same address in my Computer, the WEBPAGE NOT AVAILABLE is shown up. Both the camera and COmputer are connected to WDR 4300 via...
Network & Sharing
HomeGroup - Link your Online ID and Share Files
How to Link your Live ID and Share Files in Windows 7 HomeGroup This tutorial will guide you through the process to show you how to link your desktop account with your online services like Windows Live ID so you can share files with friends. Microsoft recently enabled the link online id...
Tutorials
Share files using SkyDrive with a Link
Hi, I want to share a file using SkyDrive by using a public Link On the Web Interface I can only send Links to people (these need to be logged in) or I can generate a html-code for a iFrame to publish the file on a website. But I want to get a Link that directly points to the file, so...
Network & Sharing
Search link has lost the file it should link to
I worked most of today in Word on a critical document, saving the file every 10 minutes or so. I put the machine in hibernate and when I opened it back up to do more work, the file was not in the Word recent file list. Did a search (from the Start icon) and the file, with the proper date and...
General Discussion
Could I link files from another OS partition?
Hello guys... I'm just new to Windows 7. I'm using both Vista and Windows 7 installed in separate partitions C and D. I'm planning on keeping my documents, mp3s, files, etc. in Drive C (Vista) while using my Drive D (Windows 7) mainly for OS and programs only. I'd like to ask, is it possible for...
General Discussion


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 21:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App