Small python script runs under windows helps developer to copy any directory path and fix forward slash
-
Tested on windows 10
-
You need to install 'clipboard' module for python:
pip install clipboard
or you just run install.bat to install 'clipboard' modlule and registry key
#####################################################
- In cpwfs.reg file
change the path in all keys to your python 'pythonw.exe' path and the path of 'copy_path_with_forward_slash.py' in your hard drive before you run it
C:\Python27\pythonw.exe G:\code_path\copy_path_with_forward_slash.py
#########################################################
- Now you can use script
Right click in any directory white space , or right click on any folder or file and choose "Copy Path With Forward Slash"
