I have a hidden folder , and I use VB6 to make a program for get the all folder on a drive and show at DirListBox , but it just only show non-hidden folder only , what I want is show all hidden or non-hidden folder at dirlistbox for this drive , so who can help me ?
You could go here
http://www.mvps.org/ccrp/
and use this >> FolderTreeview
but if you cannot see your hidden files and folders it may be that you will have to change the folder options on your PC?
hope this helps
Related
My main software application folder is here:
D:\My Programs\2017\MeetSchedAssist
And it has sourec control using TortoiseGit. But I now have an additional folder here:
C:\Users\ajtru\Documents\HelpNDoc\Templates\html\MSA HTML Template
It has to remain there because it is required by HelpNDoc in this location. Well, it does allow you to set a different location by default:
https://www.helpndoc.com/news/2014-06-03-advanced-keyword-management-and-custom-template-path-helpndoc-44
But that is not what I want to do as each of my programs will have their own templates.
So, what is the simplest way using TortoiseGit to include this external folder as part of the source control withotu constantly copying the folder? Can it be done?
You could set up a junction inside your working tree which points to the real folder.
E.g. run as Administrator:
mklink /j D:\My Programs\2017\MeetSchedAssist\fromhere C:\Users\ajtru\Documents\HelpNDoc\Templates\html\MSA HTML Template\tohere
https://learn.microsoft.com/windows/desktop/FileIO/hard-links-and-junctions
I am trying to download two text files by the 'Download_Files' button.
I am facing below problems :
In the getFiles() function, if I comment out the webix.message, only the second file is getting saved. How can I save both the files into that function without the webix.message?
Is it possible to download them into a folder ?
Snippet is here : https://snippet.webix.com/a0qpcpxx
Thanks.
(1)
Your code works correctly for me. Still, you can try to make some delay between two downloads
webix.html.download(blob1, "file1.txt");
setTimeout(function(){
webix.html.download(blob2, "file2.txt");
}, 100);
(2)
There is no way to control the target folder for downloaded files
That is default browser behavior, files always are downloaded into the "Downloads" folder or into folder selected by the user
I am working on a C++ windowsform project, using visual Studio IDE.
I use CFileDialog class to ask the user to select a file to open.
It display an usual open file selection windows.
I would like the default folder displayed to be the same as the one accessed when clicked on "My computer", where the harddrives, USB drives, dvd drives etc. are displayed.
I can define default folder by writting its path tolpstrInitialDir member, but I don't find the path for such a folder. I tried "\", "explorer.exe", "", none of them gave me the expected result.
The application will be used by several users, so the solution must not include the user name in the path. i.e "C:\Documents and Settings[user]\Desktop\My Computer" may work but is not correct for my application.
Does anyone know of to define the "root" path of windows (i.e the root of C:\) ?
I searched on SO and internet but maybe I have used wrong keywords because I couldn't find appropriate content.
My Computer is a virtual shell folder that doesn't correspond to any file system directory. There's no file system path that would correspond to that location.
Fortunately, file dialogs do speak "shellese", so you can use the CLSID (not to be confused with the GUID KNOWNFOLDERID or the CSIDL) of the shell folder. Sample in C# Winforms, but really, the only important part is the ::CLSID):
var ofd = new OpenFileDialog();
ofd.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}";
ofd.ShowDialog();
Disclaimer: I couldn't find any relevant documentation for the virtual folder CLSID, or this behaviour of the File dialog. So this is most likely not contractual, and could possibly change in future versions of Windows.
In the explorer, in the search bar copy the address of
This PC
and then select the text
This PC
and paste. Normally we get the
Ce PC ":: {CLSID}"
and then just copy
:: {CLSID}
and paste it wherever we want.
Path should be: C:\Users\UserName\Desktop\Computer.lnk
Here is what happens when I make the folder read only:
It asks for admin access to it and I click ok.
But when I go back and check it again it has reverted back to read only.
the reason I am doing this is I need to be able to make a new file in the folder via cmd.
Thanks, I am using windows 7
Folders don't show their read only status in Explorer. This is by design as users will screw things up by removing read only on Windows special folders.
The file system ignores it except it resists deletion. However programs can change the attribute and then delete it, and this is what Windows Explorer does.
As the read only attribute is unused for folders (except as noted above) Windows Explorer uses it (or the system attribute) to mark a folder as special. When opening a folder for viewing it uses the presence of the read only attribute to tell it to use a different viewer from the standard folder viewer. Like the fonts folder - instead of showing files it shows installed fonts. This use is specific to Windows Explorer and there is no support to other programs for it.
As Windows Explorer doesn't want you changing the flag it uses it doesn't show if a folder is marked read only or not. It shows indeterminate. If you click the box it will change between ticked, unticked, and indeterminate. Clicking the box and changing it, it will apply to files in the folder not the folder.
Attrib shows the attributes of a folder
attrib "%userprofile%\documents"
And you can see even though read only is set you can save files to your Documents folder.
Attrib can only change an attribute if the file doesn't have hidden or system attribute also set. To change it on these you must change all three to off.
attrib -r -s -h "%userprofile%\documents"
For Help on attrib type
attrib /?
I am trying to batch convert a bunch of raw image files on OS X. I would like to use built-in software since it is possible.
First I would like to
let the user select the input folder containing the raw files;
create a new folder jpgs inside of that folder;
copy the raw files from the user selected folder into jpgs.
This is the workflow I have implemented so far in order to implement the first two steps.
First I let the user select a folder and store it into the variable NEF Folder. The I create a new folder named jpgs in the folder chosen by the user (NEF Folder).
BUT this is what the workflow does after selecting folder AAA on the Desktop:
Why?
Understood.
The action New folder creates a folder and copies its input inside of the newly created folder.
I have the same issue and solved it checking the box "Ignore this action's input".