node.js - How to delete a git local repo folder in windows 7 -
i have created git clone in local directory. have run npm , installed node packages(gulp etc). don’t want working directory. did right click mouse , delete, not able delete. getting below error.
"the source file name(s) larger supported file system. try moving location has shorter path name, or try renaming shorted name(s) before attempting operation"
what issue.
on windows, this thread shows can be:
- a path length issue (the path long)
- a process issue (which keeps handle on 1 of files being deleted)
i found out make drive mapping halfway folder structure should able delete latter half of file heirarcy.
for example if getting error trying delete:
\\nas.device.company.com\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
then map network drive
z:
to
\\nas.device.company.com\a\b\c\d\e\f\g\h\i\j\k\
this reduce file herarchy down smaller path.
open explorer , viewz:
drive. should contain folder calledl
(in example).you should able delete
l
, subfolders without issue, thereby deleting half folder hierarchy.
after that, disconnectz:
drive , try delete whatever left normally.
problem solved!
Comments
Post a Comment