Virtual File System on Windows 10?












0















I am a PHP programmer and I am looking for a way to create a virtual folder/file Structure, which means: i can copy only required files from anywhere (which would actually be linked to the original file) but which works like a real folder i can open with my PHPStorm.



So this would be for example (simplified)



Real file system: 
c:devproject1myfile1.php
c:devproject1myfile2.php
c:devproject1myfile3.php
c:devproject1myfile4.php
c:devproject1templatetemplate.tpl
c:devproject1imagesimg1.jpg
c:devproject1imagesimg2.jpg
c:devproject1imagesimg3.jpg
c:devproject1info.txt

Virtual File Structure:
myprojectsproject1myfile2.php
myprojectsproject1myfile4.php
myprojectsproject1template.tpl
myprojectsproject1imgimg1.jpg
myprojectsproject1imgimg2.jpg


So when editing my project - instead of seeing thousands of files i'd only see the required ones.



Any Ideas?
Thanks



PS: I'm still using TotalCommander which has a Plugin like that but the Virtual Folder only can be accessed inside from Totalcommander (it seems)










share|improve this question

























  • You can use include paths to include or require files without specifying their full path.

    – LPChip
    Feb 8 at 16:00











  • Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

    – arana
    Feb 9 at 0:57
















0















I am a PHP programmer and I am looking for a way to create a virtual folder/file Structure, which means: i can copy only required files from anywhere (which would actually be linked to the original file) but which works like a real folder i can open with my PHPStorm.



So this would be for example (simplified)



Real file system: 
c:devproject1myfile1.php
c:devproject1myfile2.php
c:devproject1myfile3.php
c:devproject1myfile4.php
c:devproject1templatetemplate.tpl
c:devproject1imagesimg1.jpg
c:devproject1imagesimg2.jpg
c:devproject1imagesimg3.jpg
c:devproject1info.txt

Virtual File Structure:
myprojectsproject1myfile2.php
myprojectsproject1myfile4.php
myprojectsproject1template.tpl
myprojectsproject1imgimg1.jpg
myprojectsproject1imgimg2.jpg


So when editing my project - instead of seeing thousands of files i'd only see the required ones.



Any Ideas?
Thanks



PS: I'm still using TotalCommander which has a Plugin like that but the Virtual Folder only can be accessed inside from Totalcommander (it seems)










share|improve this question

























  • You can use include paths to include or require files without specifying their full path.

    – LPChip
    Feb 8 at 16:00











  • Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

    – arana
    Feb 9 at 0:57














0












0








0








I am a PHP programmer and I am looking for a way to create a virtual folder/file Structure, which means: i can copy only required files from anywhere (which would actually be linked to the original file) but which works like a real folder i can open with my PHPStorm.



So this would be for example (simplified)



Real file system: 
c:devproject1myfile1.php
c:devproject1myfile2.php
c:devproject1myfile3.php
c:devproject1myfile4.php
c:devproject1templatetemplate.tpl
c:devproject1imagesimg1.jpg
c:devproject1imagesimg2.jpg
c:devproject1imagesimg3.jpg
c:devproject1info.txt

Virtual File Structure:
myprojectsproject1myfile2.php
myprojectsproject1myfile4.php
myprojectsproject1template.tpl
myprojectsproject1imgimg1.jpg
myprojectsproject1imgimg2.jpg


So when editing my project - instead of seeing thousands of files i'd only see the required ones.



Any Ideas?
Thanks



PS: I'm still using TotalCommander which has a Plugin like that but the Virtual Folder only can be accessed inside from Totalcommander (it seems)










share|improve this question
















I am a PHP programmer and I am looking for a way to create a virtual folder/file Structure, which means: i can copy only required files from anywhere (which would actually be linked to the original file) but which works like a real folder i can open with my PHPStorm.



So this would be for example (simplified)



Real file system: 
c:devproject1myfile1.php
c:devproject1myfile2.php
c:devproject1myfile3.php
c:devproject1myfile4.php
c:devproject1templatetemplate.tpl
c:devproject1imagesimg1.jpg
c:devproject1imagesimg2.jpg
c:devproject1imagesimg3.jpg
c:devproject1info.txt

Virtual File Structure:
myprojectsproject1myfile2.php
myprojectsproject1myfile4.php
myprojectsproject1template.tpl
myprojectsproject1imgimg1.jpg
myprojectsproject1imgimg2.jpg


So when editing my project - instead of seeing thousands of files i'd only see the required ones.



Any Ideas?
Thanks



PS: I'm still using TotalCommander which has a Plugin like that but the Virtual Folder only can be accessed inside from Totalcommander (it seems)







windows-10 filesystems phpstorm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 8 at 16:03







Fuxi

















asked Feb 8 at 15:49









FuxiFuxi

4232819




4232819













  • You can use include paths to include or require files without specifying their full path.

    – LPChip
    Feb 8 at 16:00











  • Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

    – arana
    Feb 9 at 0:57



















  • You can use include paths to include or require files without specifying their full path.

    – LPChip
    Feb 8 at 16:00











  • Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

    – arana
    Feb 9 at 0:57

















You can use include paths to include or require files without specifying their full path.

– LPChip
Feb 8 at 16:00





You can use include paths to include or require files without specifying their full path.

– LPChip
Feb 8 at 16:00













Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

– arana
Feb 9 at 0:57





Create a Directory then create hard links to the files you want, new files in that directory will remain there and have no links related to them, but linked files will properly update their respective linked file. That will allow you to only see what you want, if you want to save some new file to specific path you will have to do so to the specific path you want, or just leave it there since thats the place you want it anyways.

– arana
Feb 9 at 0:57










1 Answer
1






active

oldest

votes


















2














How about creating a new folder in your required project directory which will act as your virtual folder and then linking only the those files from the original folder which you want to appear in the virtual folder?



With linking, I am referring to creating symlinks and hardlinks.
In Windows, you can create both types of links using the mklink command.
For example,



mklink /h <virtual-folder>file <actual-folder>file


The only downside to this is that newly created files/folders in your thus created virtual folder will not automatically appear in your original folder.






share|improve this answer
























  • Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

    – arana
    Feb 8 at 19:20











  • @arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

    – Manas Sambhus
    Feb 8 at 23:50













  • Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

    – arana
    Feb 9 at 0:39











  • Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

    – arana
    Feb 9 at 0:52











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403575%2fvirtual-file-system-on-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














How about creating a new folder in your required project directory which will act as your virtual folder and then linking only the those files from the original folder which you want to appear in the virtual folder?



With linking, I am referring to creating symlinks and hardlinks.
In Windows, you can create both types of links using the mklink command.
For example,



mklink /h <virtual-folder>file <actual-folder>file


The only downside to this is that newly created files/folders in your thus created virtual folder will not automatically appear in your original folder.






share|improve this answer
























  • Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

    – arana
    Feb 8 at 19:20











  • @arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

    – Manas Sambhus
    Feb 8 at 23:50













  • Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

    – arana
    Feb 9 at 0:39











  • Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

    – arana
    Feb 9 at 0:52
















2














How about creating a new folder in your required project directory which will act as your virtual folder and then linking only the those files from the original folder which you want to appear in the virtual folder?



With linking, I am referring to creating symlinks and hardlinks.
In Windows, you can create both types of links using the mklink command.
For example,



mklink /h <virtual-folder>file <actual-folder>file


The only downside to this is that newly created files/folders in your thus created virtual folder will not automatically appear in your original folder.






share|improve this answer
























  • Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

    – arana
    Feb 8 at 19:20











  • @arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

    – Manas Sambhus
    Feb 8 at 23:50













  • Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

    – arana
    Feb 9 at 0:39











  • Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

    – arana
    Feb 9 at 0:52














2












2








2







How about creating a new folder in your required project directory which will act as your virtual folder and then linking only the those files from the original folder which you want to appear in the virtual folder?



With linking, I am referring to creating symlinks and hardlinks.
In Windows, you can create both types of links using the mklink command.
For example,



mklink /h <virtual-folder>file <actual-folder>file


The only downside to this is that newly created files/folders in your thus created virtual folder will not automatically appear in your original folder.






share|improve this answer













How about creating a new folder in your required project directory which will act as your virtual folder and then linking only the those files from the original folder which you want to appear in the virtual folder?



With linking, I am referring to creating symlinks and hardlinks.
In Windows, you can create both types of links using the mklink command.
For example,



mklink /h <virtual-folder>file <actual-folder>file


The only downside to this is that newly created files/folders in your thus created virtual folder will not automatically appear in your original folder.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 8 at 18:13









Manas SambhusManas Sambhus

211




211













  • Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

    – arana
    Feb 8 at 19:20











  • @arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

    – Manas Sambhus
    Feb 8 at 23:50













  • Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

    – arana
    Feb 9 at 0:39











  • Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

    – arana
    Feb 9 at 0:52



















  • Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

    – arana
    Feb 8 at 19:20











  • @arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

    – Manas Sambhus
    Feb 8 at 23:50













  • Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

    – arana
    Feb 9 at 0:39











  • Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

    – arana
    Feb 9 at 0:52

















Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

– arana
Feb 8 at 19:20





Hard links are supposed to reflect the changes and new files, Don't know why the new files wouldn't appear in the links, they may take some seconds tho.

– arana
Feb 8 at 19:20













@arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

– Manas Sambhus
Feb 8 at 23:50







@arana with "new files not appearing", I was referring specifically to new files created in the folder where the newly created links will reside. There is no way for them to automatically get linked back to the original folder again, hence they will remain only in the new (virtual) folder, unless they are manually linked back to the original (actual) folder again by using the mklink command.

– Manas Sambhus
Feb 8 at 23:50















Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

– arana
Feb 9 at 0:39





Yeah I know what you refer to by "linking", But I have used mklink with directory symbolic links with no problem about new content not showing up in either original or virtual directory, maybe it is a problem with the junction which is the older way of doing it (mklink /j) Have not tried that, but mklink /D (directory symbolic link, only supported since Windows VISTA) I have no problem at all and it also supports UNC paths so that may be where that problem happens.

– arana
Feb 9 at 0:39













Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

– arana
Feb 9 at 0:52





Nevermind I re-read the question and this is not what he wants, now I understan what you mean. But then again, if it is a new file created there then it means it does not have an original folder, the original will be the virtual one, in fact the folder does not have to be virtual at all, only its contents should be linked if they come from other paths, but if it was created there then it should not link to anywhere else.

– arana
Feb 9 at 0:52


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403575%2fvirtual-file-system-on-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕