Hide menu

Windows - Questions and Answers

Desktop and storage

The recommended place to store files in My Documents. The desktop storage space are included in the profile that is limited in size (which is recommended) to 120 MB (30 MB ISYEDU). The higher profile you have, the longer it takes to load it at login.

Matlab running old code

Q: When working in Windows and write matlab code matlab perceive not changing the code without running old code. The time it takes for matlab been told that the code is updated seems random and can be quite long.

A: Since Samba does not manage "change notification handles" in a way that matlab perceive as accurate (a W2K server perceives it most of the time but not always).

More information at: http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_prog/f10-60956.html (Bottom of the page) Note: it seems that Matlab will look for what changed in the whole path which loads the file server is unnecessary so use any such a solution.

NOTE: If you use the Matlab's own editor, it seems like no problem occur. If you put the files in a library on your desktop (see NOTE storage above) are handled locally on the computer. One can possibly make a dir in the current library to refresh the file status and thus download the correct version of the file.

Accessing the home directory (on the Discworld)

Q: When working from another location or at home, I try to access my home directory via \\discworld \user but i can not.

A:

\\130.236.48.31\user                works
\\discworld.isy.liu.se.\user        also works

\\discworld.isy.liu.se\user         does not necessarily work!
If you want the \\discworld.isy.liu.se.\user always to work, copy the LMHOSTS file to C:\WINDOWS\system32\drivers\etc and reboot!

To see other resources that might be touched on Discworld only use the \\discworld with no user name, or other functional variants.

To access your Home Account on eduserv use \\eduserv.edu.isy.liu.se\username or \\port.edu.isy.liu.se\username

Note that nowdays the user name must be specified as domain\username for computers not within the server domain.

TeX, paths

Q: On Unix, you can specify the paths to such files (eg, style files and bibfiler) with environmental variables, $TEXINPUTS and $BIBINPUTS. Is there anything similar in Windows, or should I enter the entire address in latex file? (To avoid having to have a copy of bibfilen in all libraries.)

A: You can use the variables %TEXINPUTS% %BIBINPUTS%. It should work again in a straightforward manner. http://docs.miktex.org/manual/envvars.html

You can also do one of the following

  1. Add files in their own TDS (TeX Directory Structure).
             See:%ProgramFiles%/MiKTeX 2.8/doc/tds/tds.chm
             Create the file structure.
             Add a new root to MiKTeX.
             Start --> All Programs --> MiKTeX 2.8 --> Maintenance -->
             Settings --> Roots --> Add --> My own TDS root
    
  2. Add -include-directory=DIR to call to the latex command.
             e.g. pdflatex.exe
             -include-directory=%LOGONSERVER%\%USERNAME%\MyTeX
             (You can redefine the compilation command in most editors)
    
  3. More on the subject: http://docs.miktex.org/manual/localadditions.html

Change file type

There are associations per machine (which can not be changed), and associations for each user that you decide on.

Examples for associating ps files with Ghostview:

         Right click on a ps file
         select   "Open with"
         select   "Choose Program"
         uncheck  "Always Use ....."
         choose   "Browse"
         type      \\discworld\sw\Tools\gsview\gsview32.exe
         click on  open
 

TexPoint

Each user must initialize TexPoint according to:

  • Starting PowerPoint
  • Tools --> Macro --> Security --> Medium
  • Shutdown PowerPoint
  • Run C:\Program Files\TexPoint\Texpoint.ppa

Last updated: 2015-05-25