# Click\_no\_wait error

**URL:** <https://www.ruby-forum.com/t/click-no-wait-error/174182>\
**Category:** Ruby\
**Created:** [August 21, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/click-no-wait-error/174182 "2009-08-21T21:20:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paragadosm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Post date:** [August 21, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/click-no-wait-error/174182/1 "2009-08-21T21:20:35Z")

</div>

First off, sorry if this is in the wrong location as this is my first  
posting. I have build an executable using rubyscript2exe. I’m  
attempting to run this from a network drive. It all works except when  
click\_no\_wait needs to be called prior to handling a popup. The error  
I’m getting within the console is:

CMD.EXE was started with the above path as the current directory. UNC  
paths are not supported. Defaulting to Windows directory.

The path it displays is the network folder location.

---

<div class="post-metadata">

**Author:** ![paragadosm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Post date:** [August 24, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/click-no-wait-error/174182/2 "2009-08-24T15:06:27Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![paragadosm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Post date:** [August 24, 2009, 3:17pm UTC](https://www.ruby-forum.com/t/click-no-wait-error/174182/3 "2009-08-24T15:17:37Z")

</div>

Chad Locke wrote:

> First off, sorry if this is in the wrong location as this is my first  
> posting. I have build an executable using rubyscript2exe. I’m  
> attempting to run this from a network drive. It all works except when  
> click\_no\_wait needs to be called prior to handling a popup. The error  
> I’m getting within the console is:
> 
> CMD.EXE was started with the above path as the current directory. UNC  
> paths are not supported. Defaulting to Windows directory.
> 
> The path it displays is the network folder location.

Hi,

Without any knowledge about network applications I would suspect  
rubyscript2exe. Which version of Ruby and RubyGems are you using?  
rubyscript2exe is not maintained anymore, an alternative may be the OCRA  
gem: [http://rubyforge.org/projects/ocra/](http://rubyforge.org/projects/ocra/)

Marvin

---

<div class="post-metadata">

**Author:** ![paragadosm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Post date:** [August 24, 2009, 3:37pm UTC](https://www.ruby-forum.com/t/click-no-wait-error/174182/4 "2009-08-24T15:37:25Z")

</div>

Marvin GÃ¼lker wrote:

> Chad Locke wrote:
> 
> > First off, sorry if this is in the wrong location as this is my first  
> > posting. I have build an executable using rubyscript2exe. I’m  
> > attempting to run this from a network drive. It all works except when  
> > click\_no\_wait needs to be called prior to handling a popup. The error  
> > I’m getting within the console is:
> > 
> > CMD.EXE was started with the above path as the current directory. UNC  
> > paths are not supported. Defaulting to Windows directory.
> > 
> > The path it displays is the network folder location.
> 
> Hi,
> 
> Without any knowledge about network applications I would suspect  
> rubyscript2exe. Which version of Ruby and RubyGems are you using?  
> rubyscript2exe is not maintained anymore, an alternative may be the OCRA  
> gem: [http://rubyforge.org/projects/ocra/](http://rubyforge.org/projects/ocra/)
> 
> Marvin

Thanks for your reply. I’m using ruby 1.8.5 and gems 0.9.2. Maybe I’ll  
try updating some things and see where that takes me first
