Bash Edit

mv original_directory/filename new_directory/filename

Java Edit


File source = new File("original_directory/filename");
File destination = new File("new_directory/");

boolean success = source.renameTo(new File(destination, source.getName())); 

if(success == false){
	System.out.println("move operation failed!");

DOS Edit

MOVE yahoo.txt E:\

Windows Powershell Edit

Move-Item yahoo.txt E:\
move -path yahoo.txt -destination E:\

See Also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.