Windows 8 and 8.1 Forums

Dos question

  1. #1

    Posts : 20
    windowws 8.1

    Dos question

    What's the difference between the dos commands CD and %CD% windows 8.1?

    Don Cole

      My System SpecsSystem Spec

  2. #2

    Newport, South Wales, UK
    Posts : 573
    Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu

    CD is a dos command - Change directory

    The use of the % symbol is to differentiate a System variable in a Batch file - %CD% would indicate that you should use the defined variable %CD% in a command wich returns the current CD drive letter

    ie CD %CD% ...

    would mean to change to the directory held in the variable %CD% - this may be a constant and the variable used to simplify the layout if the directory was a complex path or it could be a user supplied variable from the batch user

    Some further info ...

    Batch Guide

    Windows Batch Scripting: Variables - /* steve jansen */
      My System SpecsSystem Spec

Dos question
Related Threads
UAC Question in System Security
Is there any way to not have UAC pop up every time on just certain programs that you use all the time and know they are safe?
RDP Question in Network & Sharing
So I downloaded the Remote Desktop client for ios to play around with it but I have a question about whether I can configure Remote Desktop to share the screen. It seems that while I can connect to the console session, the screen gets locked on the pc. If I remember I think non server remote...
Hi, My question is, I just got windows 8 and installed it from a fresh installation, and I want to install visual basic 6.0, a messages comes up that says (do I wont to enable 16-bit applications, and the other says or disable 16-bit applications, What do I need to do to install this should I...
One question.. in General Support
One question.. Is is possible to get more Login options in Windows 8 Versions? The current ones are Picture Password, Code and a usual Password.. Is is possible to get more? Thank you Shon John Xander
Question about sig in Chillout Room
Hi pals ! just joined eight forum. Feeling nice . But I can't understand hou to put my sig :( Anyone please help me ?:)
Eight Forums Android App Eight Forums IOS App Follow us on Facebook