Create the folder Date current Wise via .bat file

I want to create a folder using the current date in the .bat file, and then copy some files into the newly created folder. And then copy this folder from one place to the other. that is on the network location. I need that .bat file will work with two Windows XP & Windows 7.

I'm totally unexperience in the script.

Hello

Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public to theTechnet on the Technet forums. Here is the link.
http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

I hope this helps.

Tags: Windows

Similar Questions

  • Create the folder under computer virtual & model

    Using powershell, I want to create a folder in Machines virtual & view sandrine models a data center which has the same name as existing in cluster.  I can get the command new folder works but it is default to create the folder in the view of data centers.

    Tthanks!

    If I understand your question, you want to create a new folder called 'blue'.

    The trick is to know that there are some hidden (from the point of view customer VI) folders that you need to know to make it work.

    In the case of the view 'Machines virtual & templates' folders called 'vm' in each data center there.

    This script shows you how to create a folder 'blue '.

    
    $dcName = 
    $dc = Get-Datacenter -Name $dcName
    $parent = Get-Folder "vm" -Location $dc
    New-Folder -Location $parent -Name 
    

    PS: with the managed object browser, you can see the full hierarchy including these "hidden" folders

    Point a browser at https:///mob

  • says device cannot create the folder

    have been on a cruise and tried to use their computer to download some photos but wouldn't work - now my camera says * cannot create the folder *-my computer can't see also photos even though my computer says there is only 3 GB of space left on a 16 GB of my camera card is an EOS 60 d - my card a San disk Ultra 30 Mb 10 16 GB

    It seems that the SD card is damaged. But it might be possible to recover the files. There are a lot of tips online on how to do it. You could start here... http://www.PCAdvisor.co.UK/how-to/storage/3481659/how-get-files-off-corrupt-SD-card/

    Good luck, I know how much vacation photos can mean.

  • Cannot create the folder on the storage device

    My flash player works well, but lately, I can't create a folder: it simply indicates: cannot create the folder?

    My flash player works well, but lately, I can't create a folder: it simply indicates: cannot create the folder?

    =====================================
    The dialog box you received usually indicates that there
    are too many files copied to the root directory of the
    flash drive.

    The solution is to remove one or more pictures and
    create new empty folders in their place... then move
    all the photos in the files... problem solved.

  • Error message: cannot create the folder C:\Documents and Settings\Marlon\Local Application BVRP Software\NetWaiting\MoHlog.txt Settings\

    I recently had a problem with the virus 'Restore Windows'. I was able to get rid of it with Malwarebytes antivirus scanner, but when I turn on my computer I get this error message.
    Cannot create the folder C:\Documents and Settings\ of Settings\Marlon\Local Application BVRP Software\NetWaiting\MoHlog.txt

    I'm no expert, but I feel that my C drive disappeared, or at least has been hidden. My documents, pictures and music files are all empty. My programs (start > all programs) have been removed and deleted the shortcuts on the desktop. When I go to my computer, my personal and shared document files are not accessible. Under the description it says that they are hidden. My local disk (c) is also empty, but there is still very little space which suggests that programs and files have not been deleted.
    Is it possible to recover my files?
    Thank you

    Hello

    MoHlog.txt file is related to the software of modem on the computer, you can uninstall and reinsta it check if it works.

    Also scan your computer for any infection by virus still present on the computer using any scanner online.

    You can also try the system restore to the point before that the computer has been infected by the virus and check if it helps.

    Good luck!

  • Re-create the folder guest account

    Hi all

    I deleted the folder guest account. Now when I connect to the guest account, I get a message "you are connected with a temporary profile.

    Is it possible for me to re-create the folder comments once again?

    Thank you

    Why did you even have to activate the account invited in the first place? It is disabled by default for a very good reason security - it allows anonymous access on your computer.

    Turn it off immediately.

    If you want to grant the occasional access to your computer for visitors, create a Standard user account and call it 'Visitor' or somesuch.

    Do NOT use the guest account.

    If you find my answer helpful, please click the button "Vote as helpful"! Thank you!
    My Blog

  • SyncToy 2.1 has stopped working, with the message "unable to create the folder pair. Unable to create the provider. Can I get help to fix it please

    After the last automatic update, I tried to back up my files (did this every week for at least one year). Message "unable to create the folder pair. Unable to create the provider"came. I tried again, same. The pair and tried to reset upward. Same message... anyone have an idea how to fix?

    Hi Steve,.

    The question you have posted is related to SyncToy and would be better suited in the SyncFX - SyncToy community. Please visit the link below to find a community that will provide the support you want.
    http://social.Microsoft.com/forums/en-us/SyncToy/threads

    Hope this information helps.

  • Creating the folder and by assigning the role access list, approach programmatic

    Hi all

    I have a requirement to create the folder and assigning RAL in the folder created by the UCM (11.1.1.8) program

    I found RIDC API to use for creating folders, can I use the same for the assignment of RAL, pointers?

    Thank you

    You get errors?

    This blog can be useful: adding a file in folders of the WebCenter RIDC content frame. Niels Krijger

    Jonathan

    http://jonathanhult.com

  • How can I configure the folder in which a movie TS file stores the report?

    How can I configure the folder in which a movie TS file stores the report?

    Thank you

    Too bad... I found it

    Thank you

  • I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    Hi William,.

    Welcome to the Microsoft community.

    Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.

    It would be great if you can answer the following questions:

    1. what happens when you try to run a batch file?

    2 are. what batch file you referring?

    3. the problem occurs for a particular batch file?

    First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • script to create the folder on the data store please

    Hi all!

    I'm having difficulties writing a powercli script to create a file on a data store... we have a mixture of guests ESX 3.5, 4.0 and 4.1, using data storage mounted via NFS.

    For work I do, I need to:

    (1) create a folder on a data store (check that the folder does not already exist).

    2) navigate to the folder

    (3) and check if a particular file exists in this folder.

    The problem is that the context of my current position makes the code does not. the get-location method returns "C:\temp\ESX", being the record that I run the test script to. I try to use set-card with various settings to try to change the location of a particular data store, but it does not yet work-get-location returns "C:\temp\ESX".

    I think that the code for step 3) above is ok, but I can't get any code to work for) 1 and 2).

    can someone please?

    Thank you

    Ross.

    You must use the vimdatastore provider to access your data warehouses.

    It is documented in vSphere PowerCLI Administration Guide, which is installed on the PC where you installled PowerCLI.

    You can use the 'normal' cmdlets to navigate, test and create folders.

    For example:

    CD vmstore:

    LS # will show the upper level

    CD MyDatastore\MyFolder # navigate with the alias "cd".

    test-path MonAutreDossier # check the existence of a folder or file

    mkdir test # create a folder

    I hope this helps

  • Cannot create the folder via the web INTERFACE

    Connect to Adobe Creative Cloud via the web

    Try to create a file with a specific name

    Error: the folder with this name already exists... If no folder appears.

    How can I fix?

    Or who can I speak to who has access to my account to look at?

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    and I'm not sure that this is related to your error:

    Error: "unable to sync files" in the cloud of Adobe Creative

  • Cannot create a .db file in the folder data

    I use this code

    const QString fileName = QString("rules.db");
        QString dataFolder = QDir::homePath();
        QString newFileName = dataFolder + "/" + fileName;
        QFile file(newFileName);
    
        if(file.exists())
        {
            qDebug()<<"FILE EXISTs";
        }
    

    leader. Exists() returns false. I don't understand what I'm doing wrong :-(

    .the calling on QFile creates the file if it does not exist.

  • SC4020 create the folder to disc

    Hello

    Just bought a new SC4020.  Did not come with any docs but I finally found an online deployment guide.  I have completed prejoin via a serial connection information and two controllers have successfully started.  Connected to the UI, the admin password and loaded correctly in the license file.  Next step is to create a folder on drive.  All disks are selected by default, so I clicked on continue and that's it.  The gui is frozen and you can't do anything except close the window (which if you do, a pop up tells you that the installation is incomplete).  So, what to do next?  It takes a long time to create a folder on drive?  The only thing I noticed is that my first 12 RI SSD drives are listed in the UI as an unknown type.  The second group of 12 disks is listed as type 10 k (which is correct).

    Thought I would try the forum first, before I connect to a support work.

    See you soon,.

    Mike

    You may want to upgrade the code on the SC4020 so that the system will use these SSD drives. That is why the wizard will not let move you forward when the disks are selected.

  • Impossible to browse the history files file located in the folder "Data".

    Just tried history file for the first time, using the external drive. Files are entered in a folder called 'data' which I can't navigate simply numbers in there is no files or folders. I can get the drive, if I know the file name, and it is located and displayed in read-only format. What is happening and why I can't navigate to files?

    The history of the files makes many many copies of files, so that you can navigate the versions of the files.  You have created a file on Monday, and you open the file and change it daily.  Today (Friday), you would have 5 version of this file, one for each day in the history of your file.  If browsing it in the folder of file is not possible or recommended, because of the way it stores data to enable this feature.

    To navigate through your backup history file, open the control panel of the file history (where you set the parameters), then click on "Restore personal files" on the top left.

    Check out this short video demonstration: http://windows.microsoft.com/en-US/windows-8/how-use-file-history

Maybe you are looking for