logo
down
shadow

Accidentally created a folder with a nullchar using VBA, can't delete the folder


Accidentally created a folder with a nullchar using VBA, can't delete the folder

By : user2954983
Date : November 22 2020, 10:33 AM
To fix the issue you can do I used MkDir on a foldername (in MS Access) to create a directory using some date criteria in the name, but one of the variables I forgot to fill in, so it was only dimmed, not assigned anything. , Was able to solve it by opening the command prompt and typing
code :
rd "\\?\C:\path\to\bad\folder\badfoldername "


Share : facebook icon twitter icon
make batch file that creates a folder with today's date then moves files from a folder in to that newly created folder

make batch file that creates a folder with today's date then moves files from a folder in to that newly created folder


By : Kauperwood
Date : March 29 2020, 07:55 AM
hope this fix your issue I need to make a batch file that will make a folder with today's date in month day year format (example 080112). Then once it's created i need to move files from a set folder in to the folder it just created. To be honest i don't know how to make a batch file.
code :
FOR /f "tokens=2-4 delims=/ " %%i in ('DATE/T') do SET today_fname=%%i%%j%%k
cd c:\myfolder\%today_fname%
REM This creates a folder named 05242016 in c:\myfolder
I accidentally delete zsh from /bin folder in Mac

I accidentally delete zsh from /bin folder in Mac


By : Ajay
Date : March 29 2020, 07:55 AM
With these it helps I fixed that problem using mac tools. I invested only about 30 min of my time whith the reinstall option. It's obviously there is a way to generate a zsh binary, but I find easy reinstall the osx due to Osx come by default with the zsh binary and brew install doesn't install the zsh binary. On the other hand, there must a way to install zsh from scratch but I think find the correct way would take more time
accidentally removed log folder in rails .gitignore, log folder not being generated on pull request

accidentally removed log folder in rails .gitignore, log folder not being generated on pull request


By : Lemoness
Date : March 29 2020, 07:55 AM
With these it helps Git ignores empty folders, in fact it doesn't really know they exist (it knows about trees pointing toward file contents). Since there is no file content to point to, there is no tree and hence git will not create a folder.
Common way around this is to add empty file within the folder. Convention is to name this file .keep. Add such file to the empty folder, add it to the index, commit and push and folder will be created on checkout.
How to move folders in github repo from sub-folder to parent folder and delete the now empty sub-folder?

How to move folders in github repo from sub-folder to parent folder and delete the now empty sub-folder?


By : James BLACK
Date : March 29 2020, 07:55 AM
will help you The best approach is to extract a subfolder ("Course Term 1 ") of your current repo ("Course Repo ") as its own repo ("Course Term 1 Repo")
See:
robocopy copy files to a new folder in the current folder without the new created folder

robocopy copy files to a new folder in the current folder without the new created folder


By : skygazer
Date : March 29 2020, 07:55 AM
should help you out
The robocopy command seems to get confused when a full source directory tree is to be copied and the destination directory is located somewhere in the source directory tree. Therefore your command line results in a directory C:\Test\a\a that partially contains stuff from the source.
code :
robocopy "C:\Test" "C:\Test\a" /E /XD "C:\Test\a"
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org