Thanks Anders....it worked... Thank You, Robert Williams Senior Network Administrator Raypak, Inc. rwilliams@xxxxxxxxxx Phone - 805-278-5352 -----Original Message----- From: Anders Hansen-=D8vre [mailto:Anders.Hansen-Ovre@xxxxxxxxx]=20 Sent: Wednesday, March 19, 2003 12:24 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: I Need to create a batch file Make a batch file like this: @echo off Start u:\users\%username%\Expens~1\Expens~1.exe exit Publish the batch file, just get the correct icon from the real exe =3D = file. --- mvh/yours Anders Hansen-=3DD8vre, Seniorkonsulent Mail : anders.hansen-ovre@xxxxxxxxx Cell : (+47) 90 98 17 78 Konsulenthuset Contra as http://www.contra.no =3D20 > -----Original Message----- > From: Robert Williams [mailto:RWilliams@xxxxxxxxxx]=3D20 > Sent: 18. mars 2003 23:08 > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] Re: I Need to create a batch file >=3D20 >=3D20 >=3D20 > Ok, when I publish the app, it won't start. After my login=3D20 = script=20 >runs (scriptlogic)which is supposed to map the w:=3D20 drive, I get = the=20 >following message..... =3D20 > "expense report form" failed to start > The citrix server is unable to process your request to start=3D20 > this published application. >=3D20 >=3D20 > Ok, what am I doing wrong? My scriplogic log file says that=3D20 > w: was mapped and when I logon to a user desktop it works.... >=3D20 > Thank You, > Robert Williams > Senior Network Administrator > Raypak, Inc. > rwilliams@xxxxxxxxxx > Phone - 805-278-5352 >=3D20 >=3D20 >=3D20 > -----Original Message----- > From: Robert Williams [mailto:RWilliams@xxxxxxxxxx]=3D20 > Sent: Tuesday, March 18, 2003 12:31 PM > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] Re: I Need to create a batch file >=3D20 >=3D20 >=3D20 > Thanks will try this >=3D20 > Thank You, > Robert Williams > Senior Network Administrator > Raypak, Inc. > rwilliams@xxxxxxxxxx > Phone - 805-278-5352 >=3D20 >=3D20 >=3D20 > -----Original Message----- > From: Anders Hansen-=3D3DD8vre =3D [mailto:Anders.Hansen-Ovre@xxxxxxxxx]=3D3D20 > Sent: Tuesday, March 18, 2003 12:28 PM > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: I Need to create a batch file >=3D20 >=3D20 >=3D20 > There are many ways to do this but here is a few options: >=3D20 > 1. Include this in the logon script for the users. > Since I don't know what kind of loginscript you here is=3D20 syntax = for=20 >=3D3D batch =3D20 > If not exist "U:\Users\%USERNAME%\Expense Reports" MD =3D3D3D=3D20 > "U:\Users\%USERNAME%\Expense Reports" If not exist=3D20 > "U:\Users\%USERNAME%\Expense Reports\Expense Report =3D3D3D=3D20 > Form.exe" XCOPY x:\source\source-file.exe=3D20 > "U:\Users\%USERNAME%\Expense =3D3D3D Reports" /y >=3D20 > !LINES WILL WRAP! >=3D20 > 2. Make a batch file to check all the user dirs >=3D20 > Make a batch file in u:\users called yyha.bat :) >=3D20 > For /d %%d in (*) do If not exist "%%d\Expense Reports" MD=3D20 > "%%d\Expense =3D3D =3D3D3D Reports" For /d %%d in (*) do If not = exist=3D20 > "%%d\Expense Reports\Expense Report =3D3D3D Form.exe" XCOPY=3D20 > x:\source\source-file.exe "%%d\Expense =3D3D Reports" /y >=3D20 > !LINES WILL WRAP ONCE MORE! >=3D20 > Execute: Start - Run - CMD | U: | CD \Users | yyha.bat >=3D20 > Hope this helps. >=3D20 > Have a nice day. >=3D20 > --- > mvh/yours > Anders Hansen-=3D3D3DD8vre, Seniorkonsulent > Mail : anders.hansen-ovre@xxxxxxxxx > Cell : (+47) 90 98 17 78 >=3D20 > Konsulenthuset Contra as > http://www.contra.no > =3D3D3D20 >=3D20 > > -----Original Message----- > > From: Robert Williams [mailto:RWilliams@xxxxxxxxxx]=3D3D3D20 > > Sent: 18. mars 2003 21:02 > > To: 'thin@xxxxxxxxxxxxx' > > Subject: [THIN] I Need to create a batch file > >=3D3D3D20 > >=3D3D3D20 > >=3D3D3D20 > > I am going to publish an app in nfuse for users to run an=3D3D3D20 = =3D =3D3D > expense=3D3D20 > >report. Each user will have an executable in their=3D3D3D20 Home = =3D3D > Directory (=3D3D20 > >W:\ ), my sitution is that I would like to=3D3D3D20 create a=3D20 > subfolder in > >=3D3D >=3D20 > >each w: drive for this app but I=3D3D3D20 cannnot remember how=3D20 > to create =3D3D > a=3D3D20 > >batch file to autocreate a=3D3D3D20 subfolder under each =3D %username%=3D3D20 > >folder... =3D3D3D20 I found a batch file to copy file to the=3D20 > root of each=3D20 > >w:\=3D3D3D20 drive but not a subfolder.... Any of you batch file = gurus=20 > >=3D > >out=3D3D3D20 there can help? > >=3D3D3D20 > > Here is what I need: > >=3D3D3D20 > > My folder structure is u:\users\%username%\ > > I want to create a folder called "Expense Reports" > > I want to copy a file called "Expense Report Form.exe" to=3D3D3D20 = > >each "Expense Report" folder. =3D3D3D20 > >=3D3D3D20 > >=3D3D3D20 > > Thank You, > > Robert Williams > > Senior Network Administrator > > Raypak, Inc. > > rwilliams@xxxxxxxxxx > > Phone - 805-278-5352 > >=3D3D3D20 > > ********************************************************* > > This Week's Sponsor - RTO Software / TScale > > TScale increases terminal server capacity.=3D3D3D20 > > Get 30-40% more users per server to save $$$ and time.=3D3D3D20 > > Add users now! - not more servers. If you're using Citrix,=3D3D3D20 > > you must learn about TScale! Free 30-day eval:=3D3D3D20 > http://www.rtosoft.com/Enter.asp?ID=3D3D3D3D79 > ********************************************************** >=3D20 > For Archives, to Unsubscribe, Subscribe or=3D3D3D20 > set Digest or Vacation mode use the below link: =3D3D3D=3D20 http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity.=3D3D20 Get 30-40% more users per server to save $$$ and time.=3D3D20 Add users now! - not more servers. If you're using Citrix,=3D3D20 you = must =3D learn about TScale! Free 30-day eval: =3D http://www.rtosoft.com/Enter.asp?ID=3D3D3D79 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D3D20 set Digest or Vacation mode use the below link: =3D http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity.=3D20 Get 30-40% more users per server to save $$$ and time.=3D20 Add users now! - not more servers. If you're using Citrix,=3D20 you = must learn about TScale! Free 30-day eval: =3D = http://www.rtosoft.com/Enter.asp?ID=3D3D79 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D20 set Digest or Vacation mode use the below link: =3D http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity.=3D20 Get 30-40% more users per server to save $$$ and time.=3D20 Add users now! - not more servers. If you're using Citrix,=3D20 you = must learn about TScale! Free 30-day eval: =3D = http://www.rtosoft.com/Enter.asp?ID=3D3D79 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D20 set Digest or Vacation mode use the below link: =3D http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity.=20 Get 30-40% more users per server to save $$$ and time.=20 Add users now! - not more servers. If you're using Citrix,=20 you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=3D79 ********************************************************** For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - not more servers. If you're using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm