How can I delete a "infinite" folder? [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I was doing a program in Java and I've created, recursively, a folder that has a folder in, and so on.
I've tried to delete it but Window says it can't be deleted because is too big.
How can I delete it? Already tried rmdir /s /q and nothing.
Need Help.

\\?\ turns off file name checks.
rmdir /s /q "\\?\c:\somefolder\somefile.ext"
For explanation, see What does \?\ mean when prepended to a file path, which points to Naming Files, Paths, and Namespaces (MSDN).

You could boot from an Ubuntu Live CD/DVD and delete the folder. The command would be:
rm -rf myBigFolder

Related

Is there a way to remove old files with a prefix in windows command line? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm trying to remove all files that have a prefix "tmp" that are older than 9 days. I've fond ways of doing one or the other but not both for some reason.
From the documentation found here they have these examples with Forfiles method :
Examples:
Delete all file with tmp in name if it is is 9 days old or older:
C:\> forfiles /m tmp*.* /c "cmd /c Del tmp*.* " /d -9
Be careful, the following command may remove lot of files in a second!
del tmp*.*
* is wildcard for any character
.* is for any file extension
If you want to remove only such as PDF files, you can use
del tmp*.pdf
Then all PDF files whoes file name started with tmp will be removed.
Sure the command removes files in the current folder only. You can specify the file path together with the file name.

Why I can`t go to the desktop in terminal (babun) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I cant go to my desktop using cd command.
There is
no such file or directory
error.
What am I doing wrong?
Try using an absolute path like cd /user/home/*YOUR_USERNAME*/Desktop please be advised that Unix bash is case sensitive.
If this don't work you can still run the ls - all command in your home directory to see all folders and files inside.
If you see the "Desktop" folder and just can't change into the directory try using sudo cd ~/Desktop
Hope that helps.

Unable to change from C to other local disk using cmd [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
The command F: is not changing the prompt to local drive from c to f.
Before it would happen easily but suddenly the command has stopped working .
What is the reason behind this behaviour?
You need to use the /d switch:
cd /d f:
or just type
f:
without the /d switch, the directory is changed, but not the disk, if you switch the disk you'll see that the directory has changed:
c:\srv> cd f:
F:\
c:\srv> cd f:\dropbox
c:\srv> f:
f:\Dropbox>

WIndows command line to copy files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am able to copy files and all its subdirectories using this command line in cmd
xcopy /s c:\users\desktop f:\desktopFiles
However, I don't want to copy media files like mp3 or mp4. Is there a command line for that. Thanks!
Create file with the extensions you don't want to copy, i.e.:
excludedExtensions.txt
.mp4\
.mp3\
Then you can use:
xcopy /s /exclude:excludedExtensions.txt c:\users\desktop f:\desktopFiles
You can read more about xcopy exclude here

Windows Attrib - How to made ALL files on a drive read/write - visible [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a drive with some hidden, some readonly files.. how can I make ALL the files in ALL directories - visible and read/write using the attrib command or windows 10 comannds?
attrib /s /d -s -h -r d:\*.*
should accomplish that task. d:\ being the start directory.
The /d should process directories in addition to files.

Resources