Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows 64 Bit > more 7 issues

Reply
Thread Tools Display Modes

more 7 issues

 
 
Jason
Guest
Posts: n/a

 
      11-13-2010
when i run choice i get a message saying to get compatible program. So I
tried kixtart but when i try to run a command it opens a cmd window
without running the command. the start command does this too. What can i
use to replace these?
 
Reply With Quote
 
 
 
 
Jason
Guest
Posts: n/a

 
      11-14-2010
thanks,
i've edited the bat file to support the format but when I try to run the
bat file i get the termws.bat is not recognised as the name of cndlet.

On 14/11/2010 05:21, Carlos wrote:
> Jason,
> I am not sure if I understand your post correctly, but wouldn't
> Windows 7 Powershell fit you?
> Carlos
> On 13 nov, 01:18, Jason<jal...@hotmail.com> wrote:
>> when i run choice i get a message saying to get compatible program. So I
>> tried kixtart but when i try to run a command it opens a cmd window
>> without running the command. the start command does this too. What can i
>> use to replace these?

>


 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      11-14-2010
i had to edit the line because the format is different and I had to add
".\ to the filename.
On 14/11/2010 14:20, Jason wrote:
> thanks,
> i've edited the bat file to support the format but when I try to run the
> bat file i get the termws.bat is not recognised as the name of cndlet.
>
> On 14/11/2010 05:21, Carlos wrote:
>> Jason,
>> I am not sure if I understand your post correctly, but wouldn't
>> Windows 7 Powershell fit you?
>> Carlos
>> On 13 nov, 01:18, Jason<jal...@hotmail.com> wrote:
>>> when i run choice i get a message saying to get compatible program. So I
>>> tried kixtart but when i try to run a command it opens a cmd window
>>> without running the command. the start command does this too. What can i
>>> use to replace these?

>>

>


 
Reply With Quote
 
Charlie Russel-MVP
Guest
Posts: n/a

 
      11-14-2010
Windows PowerShell does not include the current directory in the execution
path. This is by design, and for the same reasons that UNIX and Linux
don't-- there is the potential for a security issue. Therefore, if you need
to execute a program that isn't on your normal PATH ($envath in PowerShell
speak), you have to expicitly include the current directory by preceeding
the program name with the path to it. Hence the need for ".\" before it.

If all you are trying to do is run a batch file (.BAT), you might find it
simpler and easier to simply open a command window (CMD.EXE) and run the
batch file from there. Of course, Windows PowerShell gives you far more
capabilities and is clearly the future of Windows command line and
scripting, so you may well prefer to expend the extra effort to start
getting comfortable in it.

--
Charlie.
http://msmvps.com/blogs/Russel


"Jason" <> wrote in message
news:ibne44$9qq$...
>i had to edit the line because the format is different and I had to add ".\
>to the filename.
> On 14/11/2010 14:20, Jason wrote:
>> thanks,
>> i've edited the bat file to support the format but when I try to run the
>> bat file i get the termws.bat is not recognised as the name of cndlet.
>>
>> On 14/11/2010 05:21, Carlos wrote:
>>> Jason,
>>> I am not sure if I understand your post correctly, but wouldn't
>>> Windows 7 Powershell fit you?
>>> Carlos
>>> On 13 nov, 01:18, Jason<jal...@hotmail.com> wrote:
>>>> when i run choice i get a message saying to get compatible program. So
>>>> I
>>>> tried kixtart but when i try to run a command it opens a cmd window
>>>> without running the command. the start command does this too. What can
>>>> i
>>>> use to replace these?
>>>

>>

>


 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      11-16-2010
cmd doesn't work - i get error saying i need a compatible program. Plus
if i was to open cmd first i would do the process manually.
On 15/11/2010 04:12, Charlie Russel-MVP wrote:
> Windows PowerShell does not include the current directory in the
> execution path. This is by design, and for the same reasons that UNIX
> and Linux don't-- there is the potential for a security issue.
> Therefore, if you need to execute a program that isn't on your normal
> PATH ($envath in PowerShell speak), you have to expicitly include the
> current directory by preceeding the program name with the path to it.
> Hence the need for ".\" before it.
>
> If all you are trying to do is run a batch file (.BAT), you might find
> it simpler and easier to simply open a command window (CMD.EXE) and run
> the batch file from there. Of course, Windows PowerShell gives you far
> more capabilities and is clearly the future of Windows command line and
> scripting, so you may well prefer to expend the extra effort to start
> getting comfortable in it.
>


 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      11-16-2010
yes
On 15/11/2010 02:19, Carlos wrote:
> Jason,
> Is it working now?
> Carlos
> On 13 nov, 22:30, Jason<jal...@hotmail.com> wrote:
>> i had to edit the line because the format is different and I had to add
>> ".\ to the filename.
>> On 14/11/2010 14:20, Jason wrote:
>>
>>
>>
>>> thanks,DEL Lines

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBS 2003 (not R2) Exchange ActiveSync issues with WM6.1 device (AT&T Tilt) Chuck Windows Small Business Server 5 12-23-2009 06:08 AM
Corrupt Files juerg Windows Vista Installation 10 07-12-2007 04:38 PM
ISSUES ISSUES ISSUES! Johnsabu Windows Vista Installation 7 03-02-2007 04:19 AM
Help: issues with Windows Vista Home Premium upgrade blade0r Windows Vista Installation 0 02-19-2007 11:53 AM
Performance Issues RMWChaos Windows Vista Hardware 0 08-23-2006 04:41 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59