How to Rename drive letter title or description via batch file - rename

How can I rename drive letter/description through batch file?
e.g.
right now it says "Blah (\Server) (W:)"
I can right click on it and choose rename to "Newname (W:)"
I would like to do this through a batch file, please help!
Thanks in advance :)

Related

Where can I find the path of my excel file in colab?

I upload a excel file in the homepage of colab
However, when I want to read this file in my code, it always shows " No such file or directory" no matter I change the path of file
df = pd.read_excel('/content/drive/My Drive/thesis_bio/0419_combined_biodyes.xlsx', header=0)
How to find the correct path of my file, I check most directory, but havent found yet...
Just connect to google drive from colab if you have not and go to that location where file is present and hover on to that file. You will see 3 dots next to the file, just click on it and you will see an option "copy path", click it and it will be copied to your clipboard.

Sublime Text Does Not Let Me Save My Files

How do I fix this on Mac?
Unable to save /test.py Error: Read-only file system
Since Mojave, you are no longer allowed to write to /. I suspect this is the cause of your problem: nothing to do with Sublime Text.
Pick another directory to save your files to, preferably in your home folder.
Once you make your document, go to File and click Save (or just press cmd+n).
Write the title of your document.
Right under the name there should be a little box that says Macintosh. You can click on it and change it to whatever file you prefer.
you must have left the save location as "macintosh". Basically this error means, that this "macintosh" folder is read-only. There is no issue like "sublime not having permission to write to the disk".
Just save to a usual folder and you would be gtg.
Make sure you save it to your project's folder and not just to the desktop or whatever is the default.

SublimeText 2 - find all occurences and save in file

I need to find all occurences of expression in all project files and saved into a separate file. (I need complete list of occurences).
It's possible? (If not, please advice made unpaid simple similar editor with this functionality).
Thanks
You can accomplish this by using Find In Files. Then paste the output in a separate file and save.

In Sublime Text, how do I find and replace the file name

Is there a way in sublime text where I can find a pattern and replace it with file names.
For example,
I have a bunch of file names that contain people.
I want to replace that with person.
in SideBarEnhancements there is an option to Mass Rename Selection... under Find Advanced to batch rename multiple files.
Menu: Find -> Find in Files...
Sublime is gonna open a new panel at the bottom, you just need to fill the fields. Inside the field Where, you can, for example, look up only for .txt files:
Find: People
Where: C:\Temp, *.txt
Replace: Person
No you cannot do a find and replace on a filename. Although there is a great package called SideBarEnhancements which would benefit from this feature. I will definitely submit a feature request.
Install the SideBarEnhancements plugin
Select the folder from side bar
Right click and open the context menu
From Find Advanced -> Mass Rename Selection... you can do this.

Recover Dreamweaver Files

I need help! I was just about to upload some new files to my site when I accidently pressed the get button instead of the put button...! Now all the changes are gone! How can I restore the file? Please help me! Thanks!
As an answer to my own question I would actually agree with Graphain, "You can't recover files that have been overwritten". This would say that it's impossible to recover it. However if I wouldn't have saved the new file I could retrieve from a TEMP folder where it would be until the new file would be saved.
Dreamweaver automatically saved my new file, lucky me I had the most important script copied so I could just paste it back in again. So a tip for you guys who also had the same problem as I had would be to create a backup file for it before upload or copy the whole document and if something goes wrong you can just paste it back in again(1st step of backup).

Resources