Windows Specific Setup
Follow along the regular setup.
One way to create the ~/.ddsclient
file is use Notepad.
- Open Notepad, paste in the data from your clipboard from the above guide.
- Click File -> Save As.
- Navigate to your home directory by typing in
%HOMEPATH%
into the address bar at the top. On Windows 7 it should take you to C:\Users<username>, but this varies with different windows versions. - Chose
All files
for the 'Save as type' dropdown. - Then type
.ddsclient
into the file name. If your version of windows will not accept this name you can try.ddsclient.
. - Click save
DukeDS supports unicode names for projects, folders and files. So we must enable this feature for the windows terminal. On your desktop create a shortcut:
- Right-Click -> New -> Shortcut
- Enter
DukeDSClient-Terminal
in the name (or whatever you prefer). - Click Next.
- Change Target to
C:\Windows\System32\cmd.exe /K CHCP 65001 && set PYTHONIOENCODING=UTF-8
- Change Start in to
%HOMEPATH%
. This determines the folder the terminal will start in.
Doubleclick this shortcut to start a terminal for using ddsclient. If you just open cmd.exe you will get an error about unicode support using ddsclient.
On Windows if you click in the terminal window this may cause the output from a command to freeze. This can cause ddsclient to appear frozen(even though it is making progress). You can press the Enter key and the terminal will unfreeze after clicking on it. To disable this freezing output when clicking functionality:
- right-click your "DukeDSClient-Terminal" shortcut
- Click Properties
- Click the Options tab
- Uncheck "QuickEdit mode"
- Click Apply Then when you open a new terminal using this shortcut this troublesome feature will be disabled.
The down side of turning this off is you will have to right-click and choose Mark to select text from within the terminal.