# Upgraded to TIC 5.1 now getting an Compilation failed. The filename, directory name, or volume label syntax is incorrect

**URL:** <https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [December 6, 2019, 9:00pm UTC](https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386 "2019-12-06T21:00:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rick.kerska](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rick.kerska](https://forums.toadworld.com/u/rick.kerska)\
**Post date:** [December 6, 2019, 9:00pm UTC](https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386/1 "2019-12-06T21:00:28Z")

</div>

We see this in the log as we try to run many scripts that we have. It's like it doesn't know the userID which I think is causing the error.

Temp Dir = C:\Users\灴湥捩kown\AppData\Local\Temp\

-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Setting up environment  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Script run by Toad Data Point 5.1.0.142 as tpenick on PHX07890  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: AppDataDir = C:\ProgramData\Quest Software\AutomationScript\root\SOUTH\_AZDC\_TEMPLATE  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Temp Dir = C:\Users\灴湥捩kown\AppData\Local\Temp  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Build started  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Compiling script  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Start CompileWorkflow  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Set Temp directore under AppData directory  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Temp Dir just before compile = C:\ProgramData\Quest Software\AutomationScript\root\SOUTH\_AZDC\_TEMPLATE\TEMP  
-- 12/5/2019 9:00:39 AM: SOUTH\_AZDC\_TEMPLATE.log: Before Compile  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Return from CompileWorkflow  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Script has Compiler Errors  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Compilation failed. The filename, directory name, or volume label syntax is incorrect  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Error Column: -1  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Error Line: -1  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Error Number: 348  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Error File Name:  
-- 12/5/2019 9:00:41 AM: SOUTH\_AZDC\_TEMPLATE.log: Native Compiler Return Value 0

---

<div class="post-metadata">

**Author:** ![Gavin.Lin\_40186](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@Gavin.Lin\_40186](https://forums.toadworld.com/u/Gavin.Lin_40186)\
**Post date:** [December 9, 2019, 3:08am UTC](https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386/2 "2019-12-09T03:08:51Z")

</div>

hi,

The script is run under user of tpenick, right? May I know what's the value of user environment variable TMP? You may login Windows with user tpenick, run _cmd_ command to open Command Prompt window and then run _set tmp_ to show that environment variable value.

---

<div class="post-metadata">

**Author:** ![rick.kerska](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rick.kerska](https://forums.toadworld.com/u/rick.kerska)\
**Post date:** [December 10, 2019, 3:19pm UTC](https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386/3 "2019-12-10T15:19:37Z")

</div>

Gavin,

When the ID logs into the server we do see the TMP is set to C:\users???known\AppData\Local\Temp. It looks like his profile is no longer valid either.

---

<div class="post-metadata">

**Author:** ![Gavin.Lin\_40186](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@Gavin.Lin\_40186](https://forums.toadworld.com/u/Gavin.Lin_40186)\
**Post date:** [December 11, 2019, 2:45am UTC](https://forums.toadworld.com/t/upgraded-to-tic-5-1-now-getting-an-compilation-failed-the-filename-directory-name-or-volume-label-syntax-is-incorrect/48386/4 "2019-12-11T02:45:46Z")

</div>

You may reset that environment variable value to a correct one or make it empty. I believe that will make the automation script works again.
