Why not just press Win + tab button, then on the top left, you can see an option to create a New Desktop.Hi, anyone know where I can copy paste a bat script and then edit to hide or show multiple files at once? Need to hide some files on my desktop when I give presentation, it should work with shortcuts as well
thanks ah, complete forgotten about this feature hahahWhy not just press Win + tab button, then on the top left, you can see an option to create a New Desktop.
This way, you can have 2 or more 'desktops' back to back. 1 with all your shortcuts/files, and another, completely empty and devoid of your shortcuts/files. And you can easily switch between them by pressing that button above and choosing which desktop you want to switch to any time like a browser tab.
why don't you just...Hi, anyone know where I can copy paste a bat script and then edit to hide or show multiple files at once? Need to hide some files on my desktop when I give presentation, it should work with shortcuts as well
why don't you just...
right click on the desktop -> view -> uncheck "Show desktop icons"
u can still view them on file explorer when you open This PC -> Desktopbecause I still need to access the files in my desktop
u can still view them on file explorer when you open This PC -> Desktop
Very useful for when you flood the desktop folder with too much and you don't clean it up often.
just updated my post. i generally try not to use this because a blanket command tends to screw things over.Then everybody can still see the stuff in my desktop and that defeats the purpose.
Hide is a risky method in my opinion. Move is a safe method.
just updated my post. i generally try not to use this because a blanket command tends to screw things over.
if you want to censor a specific file type
attrib *.mp4 *.jpg *. mov +h /s /d
depending what kind of file types you want to censor lorh.
if you want to censor pptx files etc just replace those file types behind the *
so like *.xlsx *.pptx etc etc
no... its instant. as long as you move within the same drive.
when you move within the same drive, you are telling the system file table to change the position of the index, not the physical location of the file cluster on the drive.
hence thats why its much faster.
you can replace *.some file format with the exact filenames in question one after another seperated by a space. works the same.
Here is an Excel VBA code that moves files from 1 folder to another.But keep moving back and forth will take quite awhile no?
Sub move_files()
Dim fso As Object
Dim my_destination_filename As String
Dim my_source_filename As String
Dim i As Integer
Set fso = CreateObject("Scripting.FileSystemObject")
i = 1
While ThisWorkbook.Sheets("Sheet1").Cells(i, 1) <> ""
my_source_filename = ThisWorkbook.Sheets("Sheet1").Cells(i, 1)
my_destination_filename = ThisWorkbook.Sheets("Sheet1").Cells(i, 2)
If Dir(my_source_filename) <> "" And my_destination_filename <> "" Then
fso.movefile Source:=my_source_filename, Destination:=my_destination_filename
Else
MsgBox "File not found"
End If
i = i + 1
Wend
End Sub
u can create two batch files, one with the attrib +h (to hide files)Okay, now I'm thinking how to let it be a one click toggle behavior.
Meaning it should toggle between personal and presentation mode every time I click and move the files accordingly.
Another potential issue this probably will mess up all my icon arrangements.
Hopefully someone has an idea for this
u can create two batch files, one with the attrib +h (to hide files)
or attrib -h (to unhide files)
also... depending on what program u are using to share screen... isn't it better to share a specific window rather than the whole screen itself since u are so concerned about the privacy of the files on ur desktop![]()
haha I thought of it too, given the nature of the work very hard la.. need to show many different files and programs.