How to move hidden folders with move command in a batch file?
Batch script for conditional copying and pasting
I came across the findstr batch command for searching for specific string in a file name. Can the same be used for reading folder names ? ie
I have folders like these:
these are all folder . the number after the '-' indicates a certain number which the user would enter . now I am taking two inputs from the user.
start = some_number
if start = 1 and end =3 . then my batch file should copy all files in these folders
to a certain location . ie the files in folder from 2001-001 to 2008-003
I am trying to consolidate a number of folders into a "Master" folder. I know I can do an "Select All" for files by selecting the first file and then scrolling down to the last file and pressing "Shift" and all of the intervening files will be selected.
I do not seem to be able to duplicate the same process for folders. I want to know if there is a way to do this, or do I have to move each folder,
otherwise, it becomes a pain to do this for a significant number of folders.
Unable to cancel auto arrange of folders in library, pictures and document
cannot move folders or items in folders to other locations within 'pictures' or 'documents'. The black, vertical location bar does not appear when I click on a folder to move it around , and on releasing the mouse button the folder returns to it's origional position. Tried both left and right clicking on folders and in spaces in between but no option to deselect 'auto arrange ' appears, - only variuos options within an auto arrange system
Folders All Vanished
I've been working with someone who opened a link from a bogus Fedex email and contracted a nasty scareware bug. Between MSE and Malwarebytes we cleaned out the bug, but when she tried to access files her folders were gone.
Vanished. The files were there, because when we searched for a file name there was no problem finding the file and its path. But trying to follow the path from the C didn't display anything.
Finally figured out that ALL her folders had been switched to HIDDEN. We managed to sort it all out once we figured that out.
Is there a single command that would hide all folders?
Folder Options resets itself
I'm not sure if it was yesterday or the day before but I had started browsing through my folders and noticed my hidden folders and extensions for known file types weren't showing up which is weird because I have show hidden folders/files and extensions of known file types checked.
So I went under options and saw they were turned off something that I didn't do. I put the optionsback to how I had them but just a couple a minutes ago they seemed to reset again, I was able to see them just 2 hours ago.
Text file parsing in batch files
I'm new to batch files, and relatively new to the Windows command line in general.
I'm making a batch file for the Windows XP command line. I want to examine, for each line of a text file, what the first few characters are. I want to count up how many lines started with one set of characters, how many started with another, etc. And I want to output that count into a different text file.
I know how to read in the text and output it to a new file, but I don't know how to check just the first few characters. I also don't know how to store the count in a variable in the batch file. (Do batch files even have variables? They must, right?)
Saving and moving files and folders - problems
I am using Windows 7 Home Premium in a Toshiba NB305-N410BL Netbook. Sometimes when I try to save a file in certain program subfolders, I cannot do it. Instead I get a message box, "You don't have permission to save in this location. Contact the administrator to obtain permission. Save in My Documents instead."
When I go to Control Panel>User Accounts, it shows only account - mine, and I am the Administrator.
1) What could be causing this problem - the inability to save files in certain folders?
2) How do I solve this problem - the ability to save files in whatever folder I want?
3) How do I obtain permission from the Administrator? I am confused since I am the Administrator.
When I try to move a folder, sometimes a message box appears stating that I need to provide administrator permission to move this folder. If I then click on the "Continue" button, I am still able to move the folder in spite of the message box.
4) Why does this message box appear and how do I prevent it from appearing?
5) How does one provide "Administrator permission?"
Deletion of empty folders
I operate Windows 7 and am wondering if there is anyway to delete empty folders. I find that if I move, remove (burn a song to a CD), or change the spelling of a song or artist in my music library that the empty folders still remain.
Using batch file to make directories based on file name
What I need is this:
1. Watch a folder.
2. When any file arrives, create a directory
(using the file name as the new directory name. Created at: Domain/Folders/filename/file)
3. Create a file named download.html, with this in this file:
a href = http : // Domain/Folders/filename/file
4. Store download.html in Folders/filename
5. Copy file from Watched Folder to COutput
6. Delete file from Watched Folder
Can this be done with an executable and a scheduler?
Move and copy files using drag and drop
A common way to move or copy a file or folder is to select it and drag it to another location. For example, you can drag a file to the Recycle Bin to delete the file, or to a folder to copy or move it to that location.
Super-hidden Folders and Files
I seem to have discovered a strange condition which I shall call "super-hidden" folders and files in Windows 7 Professional (I have 32-bit version). I found this condition while searching for my Data folder in my Palm Desktop installation -- I sorta found it, but can ONLY see it from within the Palm Desktop application, in the Tools - Options - General tab under"Data directory".
So far, I have turned-off all hidden files & folders settings, including "protected operating system files". I've installed XPlorer and it does not show the "super-hidden" folders and files (but DOES display many files and folders I cannot see from within Windows (7) Explorer.
I downloaded "last changed files.exe", and cansee a listing of many of the files/folders that contain changed files in these "super-hidden" locations, so I have proof that these files and folders actually exist where theyought to. Palm Desktop seems to be working "normally" (compared to being installed under Windows XP Pro a week earlier on another PC).
Has anyone seen this condition, and how to turn it off so I can use my computer as I need to?
Strange behaviour of the Taskbar.
For clarity, do the following with the taskbar in the no-hide mode. Unlock the taskbar and move it to the left of the screen. This works OK.
Now move it to the top. The taskbar moves to the top but a 'ghost' image of a taskbar stays on the left side of the screen. Now move it to thefeft again. The taskbar moves to the left but a 'ghost' image of a taskbar stays at the top of the screen. Now move it to the right. The 'ghost' disappears.
Move it back to the top. this works OK. With the taskbar at the top, set it to hide mode, and reboot the system.
When hidden the taskbar now displays a narrow strip at the top of the screen. Move the cursor to the top of the screen to display the taskbar.
The narrow strip still hangs below the displayed taskbar.
Organizing files and folders using the context menu
We'll be using the context menu to move and copy files and folders. The context menu appears when you right click and as its name suggests, it changes depending on what context or situation it appears under.
When you have completed this tutorial, you should be confident with copying and moving files and folders around your PC and understand how to create your own folders and organize content on your machine.
Batch File copy files from CD to a folder
I'm using a batch file to copy files from a CD to a folder. This command works: copy *.doc foldername. But this command doesn't: copy *.docx foldername.
I even tried copy *.* and *.doc?, but nothing works. in other words, it seems that the batch processor doesn't recognize the newer word formats. Is there some work-around? Maybe I need to use a different batch processor.
I have a batch file on a remote server. if I use remote desktop to connect to this server and run the batch file it runs as I would expect.
However I need to run this batch file from my local machine, using its mapped network drive (example: z:\apps\batchfile.bat)
When I run it from this location it does not run successfully.
Is it possible to run a batch file from a remote server from my machine as if I was running it from the server itself?
Or is there other ways to get round this problem?
Introducing a batch job on closing the computer
I want to introduce a batch file that will run when I do a shutdown. I want to do is use normal shutdown from the windows menu and when this runs it should run a given batch file before starting shutdown.
If I have a batch file does each line get initiated and completed before the next - if I run a sync job how can I ensure it is complete before the next line of the batch job is executed?
Run batch file on selected directory through right mouse button
I have a batch file that cleans up any picked directory [removes files with specified extensions]
In XP I had it such that I picked a directory, RMB and chose the action.
The instructions to install this facility were: open any directory tools/ folder options.. /file types/file folder/advanced/new...
In Action type<name facility>, In Application used to perform action browse to location of batch file.
Now in Windows7 these instructions don't seem to apply as stuff is in different places. I can make the facility work by placing the batch file in a directory and running it, but this leaves the batch file to be removed and nothing as easy as it was.
Can't move files/folders in a folder?
I reformatted my laptop yesterday and now I can't drag my files/folders around in a folder. There used to be a vertical line that appears whenever I drag a file/folder but now it doesn't show up anymore.
I used to be able to do that before I reformatted my laptop. How can I fix this?
Scroll problem in Favorites
When I try to add another bookmark to an existing folder in the list, either the scroll bar or the mouse wheel will move down the list but then immediately move right back up to original position.
Since I have a lot of bookmarks I am unable to move down to the bottom of the list. I would sure like to hear about it!
Windows 7 does not refresh folder views
I've got the following problem:
Windows 7 does not refresh automatically the folder view (until I manually refresh by pressing F5) after the following file operations:
- Create/delete/rename/move files or folders
Windows 7 Professional final release, international English version. No upgrade, clean install.
It seems to me it's a delay in my case: if I wait for approximately 30 secs, the refresh is done automatically. There are shared folders on the volumes.