New
#1501
Just to be clear about this, if you are a normal "user" on a network, or a shared machine etc, no sensible admin is going to give you elevated permissions for anything at all.
If you are a single user on a single machine, then there is no problem. You just give yourself the required permissions, ( or the program you want to use).
I would most definitely not give elevated permissions to any unknown program. Also, I assume that a single user who wants to do things like this is not going to go crazy and start editing system files with notepad, ( or whatever else one might use).
In point of fact, many common file managers automatically have elevated permissions when installed. So one might do a very great deal of damage with them. This does occur now and again, but most users are sensible and don't want to ruin their installation.
Some of these things have to be taken as read.
The original App, ( Which I also definitely do not recommend ) manages to circumvent UAC because it has to be run with elevated permissions in order to work in system directories. There is no principal difference between doing that and elevating Notepad.
Also, and finally, there is no good reason to use such an app in system directories. The primary usage would be in documenting downloads and suchlike, and these should not be in system directories.
Regards....Mike Connor
For anybody who wants an application like this I have just compiled this source code, and also run it as a script in Autohotkey, and it works perfectly;
The code is courtesy of "Maria Seliger";Code:; DownNote ; Version 0.2 ; Generated using SmartGUI Creator 3.4 ; Author: Maria Seliger ; This program creates textfiles to folders or files with the same name to ; enter description for folders & files. ; It uses for editing the freeware program PSPad, http://www.pspad.com/en/. ; You might use also other editors. In this case you have to change the locations ; in the lines which begin with Run ; Usage: ; 1. Open Folder to which you want add descriptions: Button Folder ; 2. Select Files and Folders from the listview element to which you want to ; add descriptions. Example: ; Backup | Backup.txt: To the folder Backup a file with name Backup.txt exists. ; In this case the Backup.txt file is opening for editing. ; Backup | new: No description file to the folder exists. A new file is created ; (empty or by template). ; File1.txt | File1.txt: No source file or folder exists to the text file. The ; text file is opening for editing. ; 3. If you want to use empty file templates you can use the button FileNote. ; It will create or open text files to the selected files & folders in PsPad ; Editor. There you can edit / view the content. ; 4. If you want to use templates you can use the button FileNoteTemplate. ; You have to select a text template and then the template is used for the ; new text files which are created. Existing files are only opened for editing. ; 5. To modify the view after creating the files use the button Modify. ; 6. You may also use the program FileNote in addition. ; See http://www.autohotkey.com/forum/viewtopic.php?t=4595 ; 7. Button Close: Closes the program. ; 8. Button Delete: Deletes corresponding text files to files / folders. ; 9. What to do next: ; Add button to combine selected text files. ; ? Add button to search in text with grep or agrep. Gui, Add, ListView, x6 y47 w450 h410, File|FileNote Gui, Add, Button, x476 y67 w150 h30, FileNote Gui, Add, Button, x476 y107 w150 h30, FileNoteTemplate Gui, Add, Button, x476 y307 w150 h30, Modify Gui, Add, Button, x476 y347 w150 h30, Delete Gui, Add, Button, x476 y387 w150 h30, About Gui, Add, Button, x476 y427 w150 h30, Close Gui, Add, Button, x476 y7 w150 h30, Folder Gui, Add, Edit, x6 y7 w450 h30 r2 vFolderpath ; Gather a list of file names from a folder and put them into the ListView: Gui, Show, x173 y146 h483 w635, FileNote return ButtonFolder: FileSelectFolder, OutputVar, , 0, Select Folder if OutputVar = Gui, Show, x173 y146 h483 w635, FileNote else GoSub, Browse Gui, Show, x173 y146 h483 w635, FileNote return ButtonFileNote: RowNumber = 0 ; first loop iteration to start search at the top of the list Loop { RowNumber:= LV_GetNext(RowNumber) ; first selected element if not RowNumber ; zero = no more selected rows break LV_GetText(Text, RowNumber) GoSub, GetFileName Sleep 100 ; this is because sometimes PsPad fails to open the files correctly ; if you have problems increase time Run, C:\Programme\PSPad\PsPad.exe "%filename%" } GoSub ButtonModify Gui, Show, x173 y146 h483 w635, FileNote return ButtonFileNoteTemplate: ; select template FileSelectFile, SelectedFile, , , Open Template for FileNote, Text Documents (*.txt) ; create files or open file if it already exist RowNumber = 0 ; first loop iteration to start search at the top of the list Loop { RowNumber:= LV_GetNext(RowNumber) ; first selected element if not RowNumber ; zero = no more selected rows break LV_GetText(Text, RowNumber) GoSub, GetFileName IfNotExist, %filename% FileCopy, %SelectedFile%, %filename% Sleep, 100 ; this is because sometimes PsPad fails to open the files correctly ; if you have problems increase time Run, C:\Programme\PSPad\PsPad.exe "%filename%" } GoSub ButtonModify Gui, Show, x173 y146 h483 w635, FileNote return ButtonDelete: RowNumber = 0 ; first loop iteration to start search at the top of the list Loop { RowNumber:= LV_GetNext(RowNumber) ; first selected element if not RowNumber ; zero = no more selected rows break LV_GetText(Text, RowNumber) GoSub, GetFileName IfExist, %workfolder%%filename% { Msgbox, 4, Delete File, Do you want to delete the file %workfolder%%filename%? IfMsgbox, Yes { FileDelete, %workfolder%%filename% GoSub, ButtonModify } } } Gui, Show, x173 y146 h483 w635, FileNote return ButtonModify: if OutputVar<> GoSub, Browse if OutputVar = Gui, Show, x173 y146 h483 w635, FileNote else GoSub, Browse Gui, Show, x173 y146 h483 w635, FileNote return ButtonAbout: Msgbox DownNote Program created by Maria Seliger, Version 0.1, Usage see SourceCode! Gui, Show, x173 y146 h483 w635, FileNote return Browse: LV_Delete() ; Delete content of listview GuiControl, , Folderpath, %OutputVar% SetWorkingDir, %OutputVar% Searchstring= extension=txt workfolder=%A_WorkingDir% ; for later use Loop, %A_WorkingDir%\*.*,1,0 ; collects only files and folders which are not ; text files { nameoffile=%A_LoopFileName% if A_LoopFileExt<>%extension% Searchstring=%Searchstring% %nameoffile% } Loop, %A_WorkingDir%\*.*,1,0 { point=. nameoffile=%A_LoopFileName% IfInString, nameoffile, %point% { StringTrimRight, filename, nameoffile, 4 filename=%filename%.txt StringTrimRight, filename2, nameoffile, 4 } else filename=%nameoffile%.txt IfExist, %OutputVar%\%filename% { IfNotInString, Searchstring, %filename2% LV_Add("", nameoffile, filename) else { If nameoffile<>%filename% LV_Add("", nameoffile, filename) } } else { filename=new LV_Add("", A_LoopFileName, filename) } } LV_ModifyCol(1) ; Auto-size first column to fit its contents return GetFileName: point=. nameoffile=%Text% If A_LoopFileSize > 0 { StringTrimRight, filename, nameoffile, 4 filename=%filename%.txt } else filename=%nameoffile%.txt return ButtonClose: GoSub GuiClose GuiClose: ExitApp
Downnote - an addition to FileNote
and instructions etc can be found there. I can't load an executable file here, but I can doubtless dump it somewhere on the net and link to it.
This is what the application looks like when run;
An excerpt from the script with general instructions;
; Version 0.2
; Generated using SmartGUI Creator 3.4
; Author: Maria Seliger
; This program creates textfiles to folders or files with the same name to
; enter description for folders & files.
; It uses for editing the freeware program PSPad, http://www.pspad.com/en/.
; You might use also other editors. In this case you have to change the locations
; in the lines which begin with Run
; Usage:
; 1. Open Folder to which you want add descriptions: Button Folder
; 2. Select Files and Folders from the listview element to which you want to
; add descriptions. Example:
; Backup | Backup.txt: To the folder Backup a file with name Backup.txt exists.
; In this case the Backup.txt file is opening for editing.
; Backup | new: No description file to the folder exists. A new file is created
; (empty or by template).
; File1.txt | File1.txt: No source file or folder exists to the text file. The
; text file is opening for editing.
; 3. If you want to use empty file templates you can use the button FileNote.
; It will create or open text files to the selected files & folders in PsPad
; Editor. There you can edit / view the content.
; 4. If you want to use templates you can use the button FileNoteTemplate.
; You have to select a text template and then the template is used for the
; new text files which are created. Existing files are only opened for editing.
; 5. To modify the view after creating the files use the button Modify.
; 6. You may also use the program FileNote in addition.
; See http://www.autohotkey.com/forum/viewtopic.php?t=4595
; 7. Button Close: Closes the program.
; 8. Button Delete: Deletes corresponding text files to files / folders.
; 9. What to do next:
; Add button to combine selected text files.
; ? Add button to search in text with grep or agrep.
The person in question, ( although I doubt it is actually THE Holy Mary ) is obviously a foreign language speaker, but the instructions are clear enough.
Best to get autohotkey and run the script, or compile it yourself.
The application uses PsPad as an editor.
I will see if I can find somewhere to post the Executable for those who are unable or unwilling to use a script or compile it themselves.
OK, here is the compiled executable; http://www.filefactory.com/file/ca3238f/n/Downnote.exe
Regards....Mike Connor
OK, have altered the script to use Notepad and recompiled it, here is the executable;
DownnoteNP.exe - download now for free. File sharing. Software file sharing. Free file hosting. File upload. FileFactory.com
<http://www.filefactory.com/file/ca3256b/n/DownnoteNP.exe>
Regards....Mike Connor